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 <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to