tony2001                Tue May 24 06:14:17 2005 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/main       streams.c 
  Log:
  MFH: make it compile on Win32
  
  
http://cvs.php.net/diff.php/php-src/main/streams.c?r1=1.125.2.99&r2=1.125.2.100&ty=u
Index: php-src/main/streams.c
diff -u php-src/main/streams.c:1.125.2.99 php-src/main/streams.c:1.125.2.100
--- php-src/main/streams.c:1.125.2.99   Mon May 23 17:51:00 2005
+++ php-src/main/streams.c      Tue May 24 06:14:16 2005
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: streams.c,v 1.125.2.99 2005/05/23 21:51:00 iliaa Exp $ */
+/* $Id: streams.c,v 1.125.2.100 2005/05/24 10:14:16 tony2001 Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -1371,8 +1371,8 @@
        if (fd != -1)   {
                php_stream *stream = php_stream_fopen_from_fd_rel(fd, "r+b", 
NULL);
                if (stream) {
-                       stream->wrapper = &php_plain_files_wrapper;
                        php_stdio_stream_data *self = 
(php_stdio_stream_data*)stream->abstract;
+                       stream->wrapper = &php_plain_files_wrapper;
 
                        self->temp_file_name = opened_path;
                        return stream;

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

Reply via email to