1
0
Fork 0

Adding upstream version 1.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 05:59:17 +01:00
parent 6e7259427c
commit e316abdb9c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
30 changed files with 1188 additions and 1060 deletions

109
ChangeLog
View file

@ -1,9 +1,25 @@
2020-06-27 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.9 released.
* zcmp.cc zdiff.cc: Read standard input only if requested.
* zdiff.cc (main): Pass options '-W' and '-y' to diff.
* zutils.cc (test_format): Detect bzip2 and lzip files better.
* ztest.cc (main): Continue testing if any input file is a terminal.
If verbosity >= 1, print number of files that failed the test.
* zcat.cc zgrep.cc ztest.cc (main): Check return value of close( infd ).
* zutils.cc (good_status): Ignore trailing data remaining in feeder.
* zupdate.cc (zupdate_file): Support new and old lzip option '-o'.
Keep combined extensions: tgz, tbz, tbz2, txz --> tlz.
Quote file names in zcmp_command to allow file names with spaces.
* *.cc (main): Set a valid invocation_name even if argc == 0.
* zutils.texi: Improve descriptions of zcat, zcmp, and zdiff.
2019-01-01 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.8 released.
* zcat.cc: Fixed a buffer overflow on outbuf when '-v' is used.
* zcat.cc: Fix a buffer overflow on outbuf when '-v' is used.
* zcat.cc (cat): A canary byte has been added to outbuf.
* Added new option '-R, --dereference-recursive'.
* New option '-R, --dereference-recursive'.
* Option '-r, --recursive' now skips symlinks.
* If no files and recursive, examine current working directory.
* recursive.cc (test_full_name): Detect directory loops.
@ -11,21 +27,21 @@
* recursive.cc: Remove extra trailing slashes from directory args.
* zcatgrep.cc (open_instream): Show correct errno.
* zutils.cc (good_status): Wait for killed child.
* Test and document continuation or exit of zcat, zgrep, ztest
* Test and document continuation or exit of zcat, zgrep, ztest,
and zupdate in case of error.
* configure: Accept appending to CXXFLAGS, 'CXXFLAGS+=OPTIONS'.
2018-02-13 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.7 released.
* zgrep.cc (main): Pass '--color' option to grep.
* check.sh: Added new tests for zgrep.
* zgrep.cc (main): Pass option '--color' to grep.
* check.sh: Add new tests for zgrep.
2017-04-05 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.6 released.
* zcmp.cc: Accept 'B' suffix in '--ignore-initial=1kB:1234B'.
* zutils.cc (feed_data): Show input filename in error messages.
* zutils.cc (feed_data): Show input file name in error messages.
2016-05-15 Antonio Diaz Diaz <antonio@gnu.org>
@ -41,124 +57,123 @@
* Version 1.4 released.
* Option '--format' has been renamed to '-O, --force-format'.
* Added new option '-M, --format=<list>' to all utilities.
* Add new option '-M, --format=<list>' to all utilities.
* zgrep.cc (main): Pass '-e' to grep if pattern begins with '-'.
* Makefile.in: Added new targets 'install*-compress'.
* Makefile.in: New targets 'install*-compress'.
2014-08-30 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.3 released.
* check.sh: Fixed two values of expected exit status.
* zutils.texi: Documented that '--format' does not verify format.
* Added two missing #includes.
* License changed to GPL version 2 or later.
* check.sh: Fix two values of expected exit status.
* zutils.texi: Document that '--format' does not verify format.
* Add two missing #includes.
* Change license to GPL version 2 or later.
2014-02-01 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.2 released.
* Added new utility; zupdate.
* Removed zutils executable. Utils are now independent executables.
* zgrep.cc: Fixed the exit status returned on error.
* zutils.texinfo: Renamed to zutils.texi.
* New utility; zupdate.
* Remove zutils executable. Utils are now independent executables.
* zgrep.cc: Fix the exit status returned on error.
* zutils.texinfo: Rename to zutils.texi.
2013-08-02 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.1 released.
* Added options '--bz2', '--gz', '--lz' and '--xz' to all utilities.
* Added runtime configuration file 'zutilsrc'.
* Add options '--bz2', '--gz', '--lz', and '--xz' to all utilities.
* Add runtime configuration file 'zutilsrc'.
* New function 'good_status' checks exit status of all children.
* Fixed all uses of decompressed/uncompressed in the documentation.
* Fix all uses of decompressed/uncompressed in the documentation.
2013-05-31 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.0 released.
* Added new option '--format' to all utilities.
* Add new option '--format' to all utilities.
* main.cc (main): Make 'grep_show_name' tri-state so that file
name is no prefixed to output by default when searching one
file and '--recursive' has not been selected.
* Zgrep: Fixed output of option '-L' (it behaved like '-l').
* zcmp.cc: Fixed deadlock when '-n' option is used.
* zdiff.cc (set_data_feeder): Call compressor with option "-q"
* Zgrep: Fix output of option '-L' (it behaved like '-l').
* zcmp.cc: Fix deadlock when option '-n' is used.
* zdiff.cc (set_data_feeder): Call compressor with option '-q'
only if verbosity < 0.
* zutils.cc (set_data_feeder): Likewise.
* Changed quote characters in messages as advised by GNU Standards.
* Change quote characters in messages as advised by GNU Standards.
* configure: Options now accept a separate argument.
* configure: 'datadir' renamed to 'datarootdir'.
* Makefile.in: Added new target 'install-bin'.
Rename 'datadir' to 'datarootdir'. Ignore environment variables.
* Makefile.in: New target 'install-bin'.
* Use 'setmode' instead of '_setmode' on Windows and OS/2.
* zcat.cc (Line_number): Fixed a portability issue with Solaris 9.
* zcat.cc (Line_number): Fix a portability issue with Solaris 9.
* INSTALL: Document installing zutils along with GNU gzip.
2011-01-11 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.9 released.
* configure: Added new options 'DIFF' and 'GREP'.
* zcmp.cc: Fixed deadlock when files differ.
* zgrep.cc: Fixed deadlock when binary file matches.
* configure: New options 'DIFF' and 'GREP'.
* zcmp.cc: Fix deadlock when files differ.
* zgrep.cc: Fix deadlock when binary file matches.
2010-11-15 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.8 released.
* main.cc: Added new options '--zcat', '--zgrep' and '--ztest'.
* main.cc: New options '--zcat', '--zgrep', and '--ztest'.
* zcat.cc: New file implementing zcat+cat functionality in C++.
* zcmp.cc: New file implementing zcmp+cmp functionality in C++.
* doc/zcmp.1: New file.
* zcmp.in: Removed.
* Remove files zcmp.in, zdiff.in.
* zdiff.cc: New file implementing zdiff functionality in C++.
* zdiff.in: Removed.
* zgrep.cc: New file implementing zgrep functionality in C++.
* All mentions to zegrep and zfgrep have been removed from the
documentation because egrep and fgrep are deprecated.
* ztest.cc: New file implementing ztest functionality in C++.
* Makefile.in: Added quotes to directory names.
* Makefile.in: Add quotes to directory names.
* check.sh: Use 'test.txt' instead of 'COPYING' for testing.
* Removed environment safeguards from configure as requested by
* Remove environment safeguards from configure as requested by
Richard Stallman. Now environment variables affect configure.
2009-10-21 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.7 released.
* Added new utility; ztest.
* zcat.in: Added new option '--recursive'.
* New utility; ztest.
* zcat.in: New option '-r, --recursive'.
2009-10-05 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.6 released.
* zcat.in, zgrep.in: Removed again default compressor. Format of
* zcat.in, zgrep.in: Remove again default compressor. Format of
data read from stdin is now automatically detected.
* Makefile.in: Added '--name' option to help2man invocation.
* Makefile.in: Add option '--name' to help2man invocation.
2009-10-01 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.5 released.
* zcat.in, zgrep.in: Read again data from stdin.
* Added again default compressor for stdin only.
* Add again default compressor for stdin only.
2009-09-17 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.4 released.
* Added two new utilities; zegrep and zfgrep.
* Added zutils executable which recognizes file formats.
* Add two new utilities; zegrep and zfgrep.
* Add zutils executable which recognizes file formats.
2009-08-28 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.3 released.
* Removed default compressor.
* Remove default compressor.
* zcat.in, zgrep.in: Don't read data from stdin.
* Updated home page and mailing list addresses.
* Update home page and mailing list addresses.
2009-08-13 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.2 released.
* Added support for xz.
* Add support for xz.
2009-08-07 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.1 released.
Copyright (C) 2009-2019 Antonio Diaz Diaz.
Copyright (C) 2009-2020 Antonio Diaz Diaz.
This file is a collection of facts, and thus it is not copyrightable,
but just in case, you have unlimited permission to copy, distribute and
but just in case, you have unlimited permission to copy, distribute, and
modify it.