cvs: php4 /main memory_streams.c
| From: | Zeev Suraski | Date: | Tue, 19 Mar 2002 19:16:21 +0000 |
| Subject: | cvs: php4 /main memory_streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10435@lists.php.net to get a copy of this message | ||
zeev Tue Mar 19 14:16:21 2002 EDT
Modified files:
/php4/main memory_streams.c
Log:
Possibly fix a crash - Marcus, please take a look at it...
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;