commit | c2cb0f32b44a9918364af39c24b5643388c553f6 | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Thu Apr 13 12:45:04 2006 +0000 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Thu Apr 13 12:45:04 2006 +0000 |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 [diff] [blame] |
- patch from Denis Vlasenko to add and use bb_xopen3()
diff --git a/archival/gzip.c b/archival/gzip.c index 5fb1187..c31706a 100644 --- a/archival/gzip.c +++ b/archival/gzip.c
@@ -1228,7 +1228,7 @@ inFileNum = STDIN_FILENO; outFileNum = STDOUT_FILENO; } else { - inFileNum = bb_xopen(argv[i], O_RDONLY); + inFileNum = bb_xopen3(argv[i], O_RDONLY, 0); if (fstat(inFileNum, &statBuf) < 0) bb_perror_msg_and_die("%s", argv[i]); time_stamp = statBuf.st_ctime;