aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gzip
diff options
context:
space:
mode:
authorGuido van Rooij <guido@FreeBSD.org>1997-03-15 22:43:58 +0000
committerGuido van Rooij <guido@FreeBSD.org>1997-03-15 22:43:58 +0000
commit34eddd5161f006645947c15fff9c5826fc95f3a5 (patch)
tree81d3aa21e2b5633d87ee75388b9208c59ce2ed62 /gnu/usr.bin/gzip
parent79a5f47589b967f391d7b248338a37408fbd87de (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/gzip')
-rw-r--r--gnu/usr.bin/gzip/gzip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/usr.bin/gzip/gzip.c b/gnu/usr.bin/gzip/gzip.c
index 9dbe6b021806..87ab36a2774f 100644
--- a/gnu/usr.bin/gzip/gzip.c
+++ b/gnu/usr.bin/gzip/gzip.c
@@ -45,7 +45,7 @@ static char *license_msg[] = {
*/
#ifdef RCSID
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: gzip.c,v 1.6 1997/02/22 15:45:57 peter Exp $";
#endif
#include <ctype.h>
@@ -1573,7 +1573,6 @@ local int check_ofname()
return ERROR;
}
}
- (void) chmod(ofname, 0777);
if (unlink(ofname)) {
fprintf(stderr, "%s: ", progname);
perror(ofname);
@@ -1633,7 +1632,6 @@ local void copy_stat(ifstat)
#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);