Re: cvs: php4 /main memory_streams.c
| From: | (Marcus Boerger) | Date: | Tue, 19 Mar 2002 19:47:46 +0000 |
| Subject: | Re: cvs: php4 /main memory_streams.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81512@lists.php.net to get a copy of this message | ||
At 20:16 19.03.2002, you wrote:
zeev Tue Mar 19 14:16:21 2002 EDTModified files:
/php4/main memory_streams.cLog: Possibly fix a crash - Marcus, please take a look at it... Just coming in - need some more time - but The first patch was only moving the emacs folding in front of the the functions, correct. This one was adding initialising the local variable ms. That was correct. I only checked that function (a requested one) once and it changed since then...wrongly. - tell me if incorrect then i will check in detail. Index: php4/main/memory_streams.c diff -u php4/main/memory_streams.c:1.7 php4/main/memory_streams.c:1.8
--- php4/main/memory_streams.c:1.7 Tue Mar 19 14:15:39 2002+++ php4/main/memory_streams.c Tue Mar 19 14:16:20 2002 @@ -268,6 +268,7 @@
assert(buf != NULL);
php_stream_write(stream, buf, length);
}
+ ms = stream->abstract;
ms->mode = mode;
}
return stream;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php