the beginnings of a proper man page for busybox.
[oweals/busybox.git] / gzip.c
diff --git a/gzip.c b/gzip.c
index 8f2c1c4542368c678ff30e3f8d791b268fbb486d..76df3ad9ae1a08d1dac0b9035a13c8d80406413d 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -1788,7 +1788,6 @@ int gzip_main(int argc, char ** argv)
            tostdout = 1;
        }
        while (*(++(*argv))) {
-           fprintf(stderr, "**argv='%c'\n", **argv);
            switch (**argv) {
            case 'c':
                tostdout = 1;
@@ -1878,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);