diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-10-07 11:34:50 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-10-07 11:34:50 +0000 |
commit | 0b42a6a8cf94dd05434cf5554449a6b19d47fb1e (patch) | |
tree | 8fb3ae7e00c4f47175d65c74711026d7d2db3ebf /archival/gzip.c | |
parent | 4d63525f76fd783c8ef436996c1b6f1e29dc2945 (diff) | |
download | busybox-w32-0b42a6a8cf94dd05434cf5554449a6b19d47fb1e.tar.gz busybox-w32-0b42a6a8cf94dd05434cf5554449a6b19d47fb1e.tar.bz2 busybox-w32-0b42a6a8cf94dd05434cf5554449a6b19d47fb1e.zip |
- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ifconfig.c
- gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path
closes bug #221 (partially; The rest will follow later).
Diffstat (limited to 'archival/gzip.c')
-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 6cf4b395e..a527f0e40 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1270,7 +1270,7 @@ int gzip_main(int argc, char **argv) | |||
1270 | strcat(path, ".gz"); | 1270 | strcat(path, ".gz"); |
1271 | 1271 | ||
1272 | /* Open output file */ | 1272 | /* Open output file */ |
1273 | #if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) | 1273 | #if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) && defined O_NOFOLLOW |
1274 | outFileNum = | 1274 | outFileNum = |
1275 | open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW); | 1275 | open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW); |
1276 | #else | 1276 | #else |