cvs: php-src(PHP_4_4) /ext/standard php_fopen_wrapper.c
| From: | Sara Golemon | Date: | Tue, 22 Nov 2005 22:36:18 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/standard php_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-35316@lists.php.net to get a copy of this message | ||
pollita Tue Nov 22 17:36:18 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src/ext/standard php_fopen_wrapper.c
Log:
Bugfix #35315 stream->position != stream->abstract
http://cvs.php.net/diff.php/php-src/ext/standard/php_fopen_wrapper.c?r1=1.29.2.4.8.1&r2=1.29.2.4.8.2&ty=u
Index: php-src/ext/standard/php_fopen_wrapper.c
diff -u php-src/ext/standard/php_fopen_wrapper.c:1.29.2.4.8.1
php-src/ext/standard/php_fopen_wrapper.c:1.29.2.4.8.2
--- php-src/ext/standard/php_fopen_wrapper.c:1.29.2.4.8.1 Thu Nov 17 14:41:02 2005
+++ php-src/ext/standard/php_fopen_wrapper.c Tue Nov 22 17:36:14 2005
@@ -17,7 +17,7 @@
| Hartmut Holzgraefe <hholzgra@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_fopen_wrapper.c,v 1.29.2.4.8.1 2005/11/17 19:41:02 pollita Exp $ */
+/* $Id: php_fopen_wrapper.c,v 1.29.2.4.8.2 2005/11/22 22:36:14 pollita Exp $ */
#include <stdio.h>
#include <stdlib.h>
@@ -73,7 +73,7 @@
static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count TSRMLS_DC)
{
- off_t *position = (off_t*)stream->position;
+ off_t *position = (off_t*)stream->abstract;
size_t read_bytes = 0;
if(!stream->eof) {