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

Gilles Vollant info at winimage.com
Sun Feb 6 16:18:06 EST 2005


This solves the problem, thank you 

-----Original Message-----
From: Mark Adler [mailto:madler at alumni.caltech.edu] 
Sent: Sunday, February 06, 2005 10:05 PM
To: zlib-devel at zlib.net
Subject: Re: [Zlib-devel] "wb6 " as fopen mode in minigzip.c

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);


_______________________________________________
Zlib-devel mailing list
Zlib-devel at zlib.net
http://madler.net/mailman/listinfo/zlib-devel_madler.net







More information about the Zlib-devel mailing list