← Commit list

c3b7f7d6e

Glenn L McGrath
Glenn L McGrath
2002-08-26
FAILED Duration: 6s

Subject

chmod on the NEW file

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/gunzip.c+1 -1
@@ -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;