diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-11 16:23:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-12 23:50:36 -0700 |
commit | 31831d686bc445a6715366487b9ca88d28929194 (patch) | |
tree | 064e3b288d370d982f9b54265159dc39f9c48371 /zip.c | |
parent | 3bf440815095eb4c630b75c09bc22894a2be762f (diff) | |
download | gzip-31831d686bc445a6715366487b9ca88d28929194.tar.gz |
gzip: drop mentions of Amiga, VMS
These platforms were not supported anyway, and their code was
suffering from bitrot. This patch may also fix some file name
glitches on MS-Windowsish platforms.
* bootstrap.conf (gnulib_modules): Add dosname.
* gzip.c: Include dosname.h.
(shorten_name, treat_dir): Use last_component rather than looking
at path separators by hand.
* tailor.h: Remove sections on porting to VMS and to Amiga,
since dosname.h doesn't support these platforms anyway.
(PATH_SEP2, PATH_SEP3, STDC_HEADERS, SUFFIX_SEP, RECORD_IO)
(HAVE_CHOWN, HAVE_LSTAT, HAVE_SYS_DIR_H, direct): Remove. All
uses removed. Many uses replaced by calls to ISSLASH and/or
last_component.
Diffstat (limited to 'zip.c')
-rw-r--r-- | zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -80,8 +80,8 @@ int zip(in, out) (void)deflate(); #ifndef NO_SIZE_CHECK - /* Check input size (but not in VMS -- variable record lengths mess it up) - * and not on MSDOS -- diet in TSR mode reports an incorrect file size) + /* Check input size + * (but not on MSDOS -- diet in TSR mode reports an incorrect file size) */ if (ifile_size != -1L && bytes_in != ifile_size) { fprintf(stderr, "%s: %s: file size changed while zipping\n", |