iliaa           Mon May 23 17:49:53 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src    NEWS 
    /php-src/main/streams       plain_wrapper.c 
  Log:
  MFH: Fixed bug #32810 (temporary files not using plain file wrapper).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.398&r2=1.1760.2.399&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.398 php-src/NEWS:1.1760.2.399
--- php-src/NEWS:1.1760.2.398   Mon May 23 11:37:10 2005
+++ php-src/NEWS        Mon May 23 17:49:48 2005
@@ -35,6 +35,7 @@
 - Fixed bug #32852 (Crash with singleton and __destruct when
   zend.ze1_compatibility_mode = On). (Dmitry)
 - Fixed bug #32813 (parse_url() does not handle scheme-only urls properly). 
(Ilia)
+- Fixed bug #32810 (temporary files not using plain file wrapper). (Ilia)
 - Fixed bug #32809 (Missing T1LIB support on Windows). (Edin)
 - Fixed bug #32802 (General cookie overrides more specific cookie). (Ilia)
 - Fixed bugs #32800, #32830 (ext/odbc: Problems with 64bit systems). (Jani)
http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.39.2.5&r2=1.39.2.6&ty=u
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.39.2.5 
php-src/main/streams/plain_wrapper.c:1.39.2.6
--- php-src/main/streams/plain_wrapper.c:1.39.2.5       Thu Apr  7 03:28:53 2005
+++ php-src/main/streams/plain_wrapper.c        Mon May 23 17:49:53 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: plain_wrapper.c,v 1.39.2.5 2005/04/07 07:28:53 thetaphi Exp $ */
+/* $Id: plain_wrapper.c,v 1.39.2.6 2005/05/23 21:49:53 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