Mail Archives: djgpp/2016/11/19/13:42:01
This is a port of GNU diffutils version 3.5 to MSDOS/DJGPP.
Diffutils are a collection of programs for finding differences
between files:
* diff -- displays differences between 2 files line by line;
* diff3 -- displays differences between 3 files (usually, 2 files
and their common ancestor);
* sdiff -- displays differences between 2 files side by side, and
allows to merge between them interactively;
* cmp -- displays differences between 2 binary files byte by byte.
The documentation of the package includes, in addition to the four
programs mentioned above, also the manual for the Patch utility.
DJGPP specific changes.
=======================
- The DJGPP port now supports colorization without the need of an installed
ansi.sys driver. The support has been realized in a similar way it has
been done for grep and fileutils.
- The most notable change of the FSF distribution is that the DJGPP support
has beeen dropped in favour of cygwin and MinGW support.
- This port will detect at run time if it is running on an OS with LFN support
or not and choose the appropriate temp file name pattern accordingly.
E.g.: "sdiffXXXXXX" if LFN support is available, else "dfXXXXXX" will be
used.
- This port will honor also the DOS specific environment variable TEMP and
TMP if TMPDIR is not set. If neither is accessible then P_tmpdir will
define the location to store temp files. If this directory also does not
exist then the current working directory will be used.
- All other changes are those required to get gnulib sources compiled with
djgpp and are not user visible.
- The port has been configured and compiled on WinXP SP3 and Win98SE using
gcc346b and bnu227b. There is no guarantee that this may be possible with
any other DOS-like OS. Due to the massive use of long file names it will
not be possible to configure and compile without LFN support.
As usual, all djgpp specific files (diffs, README files, etc.) are stored in
the /djgpp directory. The sources have been configured to be build in the
/_build directory. If for some reason it does not work for you, delete its
contents and configure from scratch again.
For further information about GNU diffutils please read the info docs and
NEWS file.
Here is an extract of the NEWS file showing the user visible changes from
the last port (GNU diffutils 3.2) to this one:
-------------------------------------------------------------------------------
* Noteworthy changes in release 3.5 (2016-08-20) [stable]
** Bug fixes
diff3 no longer malfunctions due to use-after-free
[bug introduced in 3.4]
diff --color no longer colorizes when TERM=dumb
* Noteworthy changes in release 3.4 (2016-08-08) [stable]
** New features
diff accepts two new options --color and --palette to generate
and configure colored output. --color takes an optional argument
specifying when to colorize a line: --color=always, --color=auto,
--color=never. --palette is used to configure which colors are used.
** Bug fixes
When binary files differ, diff now exits with status 1 as POSIX requires.
Formerly it exited with status 2.
Unless the --ignore-file-name-case option is used, diff now
considers file names to be equal only if they are byte-for-byte
equivalent. This fixes a bug where diff in an English locale might
consider two Asian file names to be the same merely because they
contain no English characters.
diff -B no longer generates incorrect output if the two inputs
each end with a one-byte incomplete line.
diff --brief no longer reports a difference for unusual identical files.
For example, when comparing a file like /proc/cmdline (for which the linux
kernel reports st_size of 0 even though it is not an empty file) to a
copy of that file's contents residing on a "normal" file system:
$ f=/proc/cmdline; cp $f k; diff --brief $f k
Files /proc/cmdline and k differ
** Performance changes
diff's default algorithm has been adjusted to output higher-quality
results at somewhat greater computational cost, as CPUs have gotten
faster since the algorithm was last tweaked in diffutils-2.6 (1993).
-------------------------------------------------------------------------------
The port consists of the usual three packages produced using djdev205
that can be downloaded from ftp.delorie.com and mirrors as (time stamp 2016-11-19):
Diffutils 3.5 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif35b.zip
Diffutils 3.5 dvi, html and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif35d.zip
Diffutils 3.5 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif35s.zip
Send Diffutils specific bug reports to <bug-diffutils AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -