diff options
author | Bernhard Reutner-Fischer | 2006-04-13 12:45:04 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-04-13 12:45:04 +0000 |
commit | c2cb0f32b44a9918364af39c24b5643388c553f6 (patch) | |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /archival | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff) | |
download | busybox-c2cb0f32b44a9918364af39c24b5643388c553f6.zip busybox-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.gz |
- patch from Denis Vlasenko to add and use bb_xopen3()
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ int gzip_main(int argc, char **argv) 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; |