helly Fri Oct 7 03:37:38 2005 EDT
Modified files:
/php-src/main/streams memory.c
Log:
- C vs. C++ fix
# I do too much C++ and too much languages anyway, right now actively:
# C, C++, Java, PHP, Peral
http://cvs.php.net/diff.php/php-src/main/streams/memory.c?r1=1.9&r2=1.10&ty=u
Index: php-src/main/streams/memory.c
diff -u php-src/main/streams/memory.c:1.9 php-src/main/streams/memory.c:1.10
--- php-src/main/streams/memory.c:1.9 Thu Oct 6 17:30:56 2005
+++ php-src/main/streams/memory.c Fri Oct 7 03:37:37 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: memory.c,v 1.9 2005/10/06 21:30:56 helly Exp $ */
+/* $Id: memory.c,v 1.10 2005/10/07 07:37:37 helly Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -308,12 +308,13 @@
static size_t php_stream_temp_read(php_stream *stream, char *buf, size_t count
TSRMLS_DC)
{
php_stream_temp_data *ts;
+ size_t got;
assert(stream != NULL);
ts = stream->abstract;
assert(ts != NULL);
- size_t got = php_stream_read(ts->innerstream, buf, count);
+ got = php_stream_read(ts->innerstream, buf, count);
if (!got) {
stream->eof |= ts->innerstream->eof;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php