Re: cvs: php4 /ext/bz2 bz2.c php_bz2.h /ext/zlib zlib_fopen_wrapper.c

From: Date: Thu, 21 Mar 2002 09:29:03 +0000
Subject: Re: cvs: php4 /ext/bz2 bz2.c php_bz2.h /ext/zlib zlib_fopen_wrapper.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10515@lists.php.net to get a copy of this message
On 21/03/02, "Sterling Hughes" <sterling@bumblebury.com> wrote: > > Damn: I forgot to mention that I fixed the bz2 tests > > by making sure that bzcompress bzdecompress NUL > > terminate their strings. > they shouldn't null terminate...its binary data (or can contain binary > data). Ah. But I thought that all strings in zvals had to be nul terminated? (Hence the warning during the tests). How about allowing for the nul but setting the size to not include it? Would that work? > Btw, your work on streams ROCKS! ;))) Thanks! --Wez.

« previous php.cvs (#10515) next »