derick Fri Aug 26 08:50:07 2005 EDT
Modified files:
/php-src NEWS
/php-src/main/streams plain_wrapper.c
Log:
- 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.2046&r2=1.2047&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2046 php-src/NEWS:1.2047
--- php-src/NEWS:1.2046 Tue Aug 23 03:23:27 2005
+++ php-src/NEWS Fri Aug 26 08:50:01 2005
@@ -2,7 +2,7 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 6.0
- Unicode support. (Andrei, Dmitriy, et al)
-- Changed "instanceof" operator, is_a() and is_subcalls_of() functions to not
+- Changed "instanceof" operator, is_a() and is_subclass_of() functions to not
call __autoload(). (Dmitry)
- cURL improvements: (Ilia)
. Added curl_setopt_array() which allows setting of multiple cURL options.
@@ -11,3 +11,5 @@
components. (Ilia)
- Added an optional parameter to strstr() and stristr() for retrieval of either
the part of haystack before or after first occurence of needle. (Johannes)
+- Fixed a bug where stream_get_meta_data() did not return the "uri" element for
+ files opened with tmpname(). (Derick)
http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.52&r2=1.53&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.53
--- 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:50:06 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.53 2005/08/26 12:50:06 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