History log of /freebsd/usr.bin/sdiff/sdiff.c (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ca75b7da 29-Jul-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

sdiff: Fix usage message.

The `--ignore-all-space` option was incorrectly documented as
`--ignore-all-spaces`.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: 0mp, markj
Differential Revis

sdiff: Fix usage message.

The `--ignore-all-space` option was incorrectly documented as
`--ignore-all-spaces`.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: 0mp, markj
Differential Revision: https://reviews.freebsd.org/D46161

show more ...


Revision tags: release/14.1.0, release/13.3.0
# ad7bef8b 18-Feb-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

sdiff: Fix binary case.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43942


# a834edfc 18-Feb-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

sdiff: Fix --expand-tabs and --tabsize.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43941


# 3cc86989 18-Feb-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

sdiff: Misc cleanup.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D43943


# 5e3934b1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

R

usr.bin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 0ace12af 06-Dec-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Rename variables confusing gcc 4.2.1

While there is no reason it shadows div(3) gcc 4.2.1 complains about it

MFC after: 1 week


# 2c320002 06-Dec-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Fix -Wincompatible-pointer-types-discards-qualifiers warnings

MFC after: 1 week


Revision tags: release/10.4.0, release/11.1.0
# bcc76a2e 08-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

Remove a useless loop over the long options before passing through some
options to diff(1)


# 85bb63bd 08-Apr-2017 Baptiste Daroussin <bapt@FreeBSD.org>

When passingthrough from sdiff to diff the -H/--speed-large-files
options rename it to the long version as GNU diff only support the long
version of the option not the short version


# d6300351 31-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove extra entries from the option enum

MFC after: 3 days


# d481a925 31-Dec-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Make sdiff --left-column work as expected

MFC after: 3 days


# a0e610c4 16-Oct-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r306906 through r307382.


# 23421d54 15-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Fix typos in sdiff(1) message and improve display


# 196a5c7c 15-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove the common.h include which is actually not used in sdiff.c


Revision tags: release/11.0.1
# 8c4282b3 24-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r305892 through r306302.


Revision tags: release/11.0.0
# c59a0a34 18-Sep-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove reference of z(s)diff which was dropped before importing


# 93badfa1 16-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r305687 through r305890.


# 6c6e3889 15-Sep-2016 Ed Maste <emaste@FreeBSD.org>

sdiff: improve errx string

errx() appends a newline so \n is superfluous. Also switch to lower case
with no period for consistency with other errx strings.


# 27067774 16-Aug-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r303250 through r304235.


# 9dc3843e 05-Aug-2016 Baptiste Daroussin <bapt@FreeBSD.org>

sdiff: remove non finish/function code

2 extra options not available neither on other BSD nor in GNU sdiff:
--diff-pid and --pipe-fd were present in the SoC code, none were usable

Just remove it


# a43d43d5 30-Jul-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Remove usage of _WITH_GETLINE from usr.bin


# a60711fd 10-May-2016 Conrad Meyer <cem@FreeBSD.org>

sdiff(1): Fix potential NULL deref in cleanup path

In the presence of the --diff-pid argument, it is possible for 'diffpipe' to be
NULL. Only fclose() it if it was initialized.

Reported by: Coveri

sdiff(1): Fix potential NULL deref in cleanup path

In the presence of the --diff-pid argument, it is possible for 'diffpipe' to be
NULL. Only fclose() it if it was initialized.

Reported by: Coverity
CID: 1355183
Sponsored by: EMC / Isilon Storage Division

show more ...


# 0c4ac56e 07-May-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Replace fparseln(3) with getline(3)

It removes a dependency on libutil.


# e29c5529 02-May-2016 Bjoern A. Zeeb <bz@FreeBSD.org>

fgetc returns an int not a char.

Found by: powerpc builds failing due to comparing with EOF raised:
"comparison is always false due to limited range of data type"


12