*** gzip.c~ Thu Aug 19 13:39:43 1993 --- gzip.c Sun Oct 3 13:52:39 1993 *************** *** 650,657 **** if (S_ISREG(istat.st_mode)) # endif time_stamp = istat.st_mtime; - #endif /* NO_STDIN_FSTAT */ } ifile_size = -1L; /* convention for unknown size */ clear_bufs(); /* clear input and output buffers */ --- 650,657 ---- if (S_ISREG(istat.st_mode)) # endif time_stamp = istat.st_mtime; } + #endif /* NO_STDIN_FSTAT */ ifile_size = -1L; /* convention for unknown size */ clear_bufs(); /* clear input and output buffers */ *************** *** 1573,1579 **** return ERROR; } } ! (void) chmod(ofname, 0777); if (unlink(ofname)) { fprintf(stderr, "%s: ", progname); perror(ofname); --- 1573,1579 ---- return ERROR; } } ! /* (void) chmod(ofname, 0777); */ if (unlink(ofname)) { fprintf(stderr, "%s: ", progname); perror(ofname); *************** *** 1624,1639 **** reset_times(ofname, ifstat); #endif /* Copy the protection modes */ if (chmod(ofname, ifstat->st_mode & 07777)) { WARN((stderr, "%s: ", progname)); if (!quiet) perror(ofname); } #ifndef NO_CHOWN chown(ofname, ifstat->st_uid, ifstat->st_gid); /* Copy ownership */ #endif remove_ofname = 0; /* It's now safe to remove the input file: */ ! (void) chmod(ifname, 0777); if (unlink(ifname)) { WARN((stderr, "%s: ", progname)); if (!quiet) perror(ifname); --- 1624,1641 ---- reset_times(ofname, ifstat); #endif /* Copy the protection modes */ + #if 0 if (chmod(ofname, ifstat->st_mode & 07777)) { WARN((stderr, "%s: ", progname)); if (!quiet) perror(ofname); } + #endif #ifndef NO_CHOWN chown(ofname, ifstat->st_uid, ifstat->st_gid); /* Copy ownership */ #endif remove_ofname = 0; /* It's now safe to remove the input file: */ ! /* (void) chmod(ifname, 0777); */ if (unlink(ifname)) { WARN((stderr, "%s: ", progname)); if (!quiet) perror(ifname); *** unlzh.c~ Fri Aug 13 12:35:37 1993 --- unlzh.c Sun Oct 3 13:21:28 1993 *************** *** 138,148 **** maketbl.c -- make table for decoding ***********************************************************/ ! local void make_table(nchar, bitlen, tablebits, table) ! int nchar; ! uch bitlen[]; ! int tablebits; ! ush table[]; { ush count[17], weight[17], start[18], *p; unsigned i, k, len, ch, jutbits, avail, nextcode, mask; --- 138,144 ---- maketbl.c -- make table for decoding ***********************************************************/ ! local void make_table(int nchar, uch bitlen[], int tablebits, ush table[]) { ush count[17], weight[17], start[18], *p; unsigned i, k, len, ch, jutbits, avail, nextcode, mask; *************** *** 202,211 **** huf.c -- static Huffman ***********************************************************/ ! local void read_pt_len(nn, nbit, i_special) ! int nn; ! int nbit; ! int i_special; { int i, c, n; unsigned mask; --- 198,204 ---- huf.c -- static Huffman ***********************************************************/ ! local void read_pt_len(int nn, int nbit, int i_special) { int i, c, n; unsigned mask; *************** *** 235,241 **** } } ! local void read_c_len() { int i, c, n; unsigned mask; --- 228,234 ---- } } ! local void read_c_len(void) { int i, c, n; unsigned mask; *** getopt.c~ Tue Aug 17 18:24:08 1993 --- getopt.c Sun Oct 3 13:21:20 1993 *************** *** 239,246 **** #endif static void ! exchange (argv) ! char **argv; { char *temp, **first, **last; --- 239,245 ---- #endif static void ! exchange (char **argv) { char *temp, **first, **last; *** tailor.h~ Mon Aug 16 21:19:55 1993 --- tailor.h Sun Oct 3 13:21:26 1993 *************** *** 175,181 **** # define PATH_SEP2 ':' # define STDC_HEADERS # define OS_CODE 0x01 ! # define ASMV # ifdef __GNUC__ # define DIRENT # define HAVE_UNISTD_H --- 175,181 ---- # define PATH_SEP2 ':' # define STDC_HEADERS # define OS_CODE 0x01 ! /* # define ASMV */ # ifdef __GNUC__ # define DIRENT # define HAVE_UNISTD_H