summaryrefslogtreecommitdiff
path: root/zip.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-11 16:23:51 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-06-12 23:50:36 -0700
commit31831d686bc445a6715366487b9ca88d28929194 (patch)
tree064e3b288d370d982f9b54265159dc39f9c48371 /zip.c
parent3bf440815095eb4c630b75c09bc22894a2be762f (diff)
downloadgzip-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zip.c b/zip.c
index 178bfd0..793cf42 100644
--- a/zip.c
+++ b/zip.c
@@ -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",