implemented numeric sort (sort -g)
[oweals/busybox.git] / gzip.c
diff --git a/gzip.c b/gzip.c
index 983f673e15eb7c847b69590de845c3f95d8d95fd..76df3ad9ae1a08d1dac0b9035a13c8d80406413d 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -1877,7 +1877,11 @@ int gzip_main(int argc, char ** argv)
 
 
        /* Open output fille */
+#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
        outFileNum=open( ofname, O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW);
+#else
+       outFileNum=open( ofname, O_RDWR|O_CREAT|O_EXCL);
+#endif
        if (outFileNum < 0) {
            perror(ofname);
            do_exit(WARNING);