(treat_file): Do not report an error with setuid, setgid,
sticky, or non-regular, non-directory files if to_stdout.
Allow 'force' to override the caution about sticky files.
(treat_file): Do not report an error with setuid, setgid,
sticky, or non-regular, non-directory files if to_stdout.
Allow 'force' to override the caution about sticky files.
* zdiff.in: Fix typo that broke most usages. Problem reported by
Jari Aalto in <http://bugs.debian.org/404114>. While we're at it,
* zdiff.in: Fix typo that broke most usages. Problem reported by
Jari Aalto in <http://bugs.debian.org/404114>. While we're at it,
2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
* doc/gzip.texi (Overview): Mention limits of gzip format's
2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
* doc/gzip.texi (Overview): Mention limits of gzip format's
* gzip.c (abort_gzip_signal): Don't call abort () as a "safeguard",
since it actually causes a core dump. Problem reported by
* gzip.c (abort_gzip_signal): Don't call abort () as a "safeguard",
since it actually causes a core dump. Problem reported by
On usage errors, suggest --help without outputting all the help.
(main, do_list): Remove unnecessary casts.
(treat_stdin, treat_file, get_method, copy_stat):
On usage errors, suggest --help without outputting all the help.
(main, do_list): Remove unnecessary casts.
(treat_stdin, treat_file, get_method, copy_stat):
(treat_file, copy_istat): Close some race conditions if files are
renamed as we read or write them.
(treat_file): Do not attempt to reset the access times of
(treat_file, copy_istat): Close some race conditions if files are
renamed as we read or write them.
(treat_file): Do not attempt to reset the access times of
(make_ofname): Don't use WARN, as it affects exit status.
(get_method): When the original file name was truncated,
restore from its base name, not from its full name.
(make_ofname): Don't use WARN, as it affects exit status.
(get_method): When the original file name was truncated,
restore from its base name, not from its full name.
- (do_list): Avoid undefined behavior with out-of-range time stamps.
- ctime, for example, cannot be invoked on arbitrary time stamps safely,
+ (do_list): Avoid undefined behavior with out-of-range timestamps.
+ ctime, for example, cannot be invoked on arbitrary timestamps safely,
since it might overrun an internal buffer. Do not assume that
localtime succeeds.
(copy_stat): Do not remove input file; that's now the caller's
since it might overrun an internal buffer. Do not assume that
localtime succeeds.
(copy_stat): Do not remove input file; that's now the caller's
* gzexe.in: Add support for --help, --version, --.
Don't call basename or sed if we can avoid it.
* gzexe.in: Add support for --help, --version, --.
Don't call basename or sed if we can avoid it.
Check also the correctness of the first byte of an .Z file.
Return non zero status for an invalid option.
Remove "NEWFILES" from os2/gzip.def for Borland C++ on OS/2.
Check also the correctness of the first byte of an .Z file.
Return non zero status for an invalid option.
Remove "NEWFILES" from os2/gzip.def for Borland C++ on OS/2.
With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
Added the zgrep shell script.
Made sub.c useful for 16 bit sound, 24 bit images, etc..
With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
Added the zgrep shell script.
Made sub.c useful for 16 bit sound, 24 bit images, etc..
Moved the sample programs to a subdirectory sample.
On MSDOS, use .gz extension when possible (files without extension)
Added a "Special targets" section in INSTALL.
Moved the sample programs to a subdirectory sample.
On MSDOS, use .gz extension when possible (files without extension)
Added a "Special targets" section in INSTALL.
Do not use the variable name 'overhead' which is reserved on Lynx!
One BULL compiler does not like *p++ in inflate.c => *p, p++.
Use casts on free and memcmp to avoid warnings.
Do not use the variable name 'overhead' which is reserved on Lynx!
One BULL compiler does not like *p++ in inflate.c => *p, p++.
Use casts on free and memcmp to avoid warnings.
- Remove the "off by more than one minute" time stamp kludge, but
- document how to avoid saving the time stamp on pipes if desired.
+ Remove the "off by more than one minute" timestamp kludge, but
+ document how to avoid saving the timestamp on pipes if desired.
Include crypt.h in inflate.c (one system predefines the CRYPT symbol).
Add links to gunzip and (g)zcat in the default make rule.
Create installation directories if they do not exist.
Include crypt.h in inflate.c (one system predefines the CRYPT symbol).
Add links to gunzip and (g)zcat in the default make rule.
Create installation directories if they do not exist.
Fix acgeneral.m4 AC_COMPILE_CHECK to avoid warnings.
Don't use alloca.c with gcc. (One NeXT user did not have alloca.h).
Change all error messages according to GNU standards.
Fix acgeneral.m4 AC_COMPILE_CHECK to avoid warnings.
Don't use alloca.c with gcc. (One NeXT user did not have alloca.h).
Change all error messages according to GNU standards.
Allow installation of zcat as gzcat.
Suppress help message and send compressed data to the terminal when
gzip is invoked without parameters and without redirection.
Allow installation of zcat as gzcat.
Suppress help message and send compressed data to the terminal when
gzip is invoked without parameters and without redirection.
Fix unlzw.c to make DYN_ALLOC and MAXSEG_64K independent options.
Allow INBUFSIZ to be >= 32K in unlzw (don't use sign of rsize)
Generate tar file in old format to avoid problems with old systems.
Fix unlzw.c to make DYN_ALLOC and MAXSEG_64K independent options.
Allow INBUFSIZ to be >= 32K in unlzw (don't use sign of rsize)
Generate tar file in old format to avoid problems with old systems.
Use ${PAGER-more} instead of ${PAGER:-more} in zmore.
Do not use unsigned instead of mode_t.
Better error message for trailing garbage in .z file; ignore this
Use ${PAGER-more} instead of ${PAGER:-more} in zmore.
Do not use unsigned instead of mode_t.
Better error message for trailing garbage in .z file; ignore this
Rename .l files back to .1 to avoid conflict with lex
Do not create .z.z files with gzip -r.
Use nice_match in match.asm
Rename .l files back to .1 to avoid conflict with lex
Do not create .z.z files with gzip -r.
Use nice_match in match.asm
Display "untested" instead of "OK" for gzip -t foo.Z
With -t, skip stdin in .Z format
Allow multiple compressed members in an input file.
Display "untested" instead of "OK" for gzip -t foo.Z
With -t, skip stdin in .Z format
Allow multiple compressed members in an input file.
Copyright (C) 1992, 1993 Jean-loup Gailly
Copying and distribution of this file, with or without
Copyright (C) 1992, 1993 Jean-loup Gailly
Copying and distribution of this file, with or without