[Zlib-devel] "wb6 " as fopen mode in minigzip.c

Mark Adler madler at alumni.caltech.edu
Sun Feb 6 16:04:55 EST 2005


On Feb 6, 2005, at 12:54 PM, Gilles Vollant wrote:
> Ok, can you remove just the space ?

Done.  Please verify that the patch below solves the problem.

mark


*** ../zlib-1.2.2.2/minigzip.c  Sat Oct 23 17:12:50 2004
--- minigzip.c  Sun Feb  6 13:02:51 2005
***************
*** 295,300 ****
--- 295,302 ----
           break;
         argc--, argv++;
       }
+     if (outmode[3] == ' ')
+         outmode[3] = 0;
       if (argc == 0) {
           SET_BINARY_MODE(stdin);
           SET_BINARY_MODE(stdout);





More information about the Zlib-devel mailing list