derick          Fri Aug 26 08:56:08 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src    NEWS 
    /php-src/main/streams       plain_wrapper.c 
  Log:
  - MFH: Fixed a bug where stream_get_meta_data() did not return the "uri"
    element for files opened with tmpname().
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.24&r2=1.2027.2.25&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.24 php-src/NEWS:1.2027.2.25
--- php-src/NEWS:1.2027.2.24    Thu Aug 25 18:06:52 2005
+++ php-src/NEWS        Fri Aug 26 08:55:57 2005
@@ -10,6 +10,8 @@
   . openssl 0.9.8
   . ming 0.3b
   . libpq (PostgreSQL) 8.0.1
+- Fixed a bug where stream_get_meta_data() did not return the "uri" element for
+  files opened with tmpname(). (Derick)
 - Fixed "make test" to work for phpized extensions. (Hartmut, Jani)
 - Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems.
   (Andrey)
http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.52&r2=1.52.2.1&ty=u
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.52 
php-src/main/streams/plain_wrapper.c:1.52.2.1
--- php-src/main/streams/plain_wrapper.c:1.52   Wed Aug  3 10:08:42 2005
+++ php-src/main/streams/plain_wrapper.c        Fri Aug 26 08:56:07 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: plain_wrapper.c,v 1.52 2005/08/03 14:08:42 sniper Exp $ */
+/* $Id: plain_wrapper.c,v 1.52.2.1 2005/08/26 12:56:07 derick Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -156,6 +156,7 @@
                if (stream) {
                        php_stdio_stream_data *self = 
(php_stdio_stream_data*)stream->abstract;
                        stream->wrapper = &php_plain_files_wrapper;
+                       stream->orig_path = estrdup(opened_path);
 
                        self->temp_file_name = opened_path;
                        self->lock_flag = LOCK_UN;

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

Reply via email to