iliaa           Mon May 23 17:48:52 2005 EDT

  Modified files:              
    /php-src/main/streams       plain_wrapper.c 
  Log:
  Fixed bug #32810 (temporary files not using plain file wrapper).
  
  
http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.44&r2=1.45&ty=u
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.44 
php-src/main/streams/plain_wrapper.c:1.45
--- php-src/main/streams/plain_wrapper.c:1.44   Thu Apr  7 03:29:14 2005
+++ php-src/main/streams/plain_wrapper.c        Mon May 23 17:48:51 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: plain_wrapper.c,v 1.44 2005/04/07 07:29:14 thetaphi Exp $ */
+/* $Id: plain_wrapper.c,v 1.45 2005/05/23 21:48:51 iliaa Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -154,6 +154,7 @@
        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;
 
                        self->temp_file_name = opened_path;

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

Reply via email to