projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193697d
)
chmod on the NEW file
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 26 Aug 2002 17:17:27 +0000
(17:17 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 26 Aug 2002 17:17:27 +0000
(17:17 -0000)
archival/gunzip.c
patch
|
blob
|
history
diff --git
a/archival/gunzip.c
b/archival/gunzip.c
index
c471227
..
ac2fb17
100644
(file)
--- a/
archival/gunzip.c
+++ b/
archival/gunzip.c
@@
-154,7
+154,7
@@
extern int gunzip_main(int argc, char **argv)
out_file = xfopen(new_path, "w");
/* Set permissions on the file */
- chmod(
old
_path, stat_buf.st_mode);
+ chmod(
new
_path, stat_buf.st_mode);
/* If unzip succeeds remove the old file */
delete_path = old_path;