iliaa Mon May 23 17:51:01 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/main streams.c
Log:
MFH: Fixed bug #32810 (temporary files not using plain file wrapper).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.913&r2=1.1247.2.914&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.913 php-src/NEWS:1.1247.2.914
--- php-src/NEWS:1.1247.2.913 Mon May 23 11:37:29 2005
+++ php-src/NEWS Mon May 23 17:50:58 2005
@@ -23,6 +23,7 @@
- Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer). (Jani)
- Fixed bug #32904 (pg_get_notify() ignores result_type parameter). (Tony)
- 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 #32802 (General cookie overrides more specific cookie). (Ilia)
- Fixed bugs #32800, #32830 (ext/odbc: Problems with 64bit systems). (Jani)
- Fixed bug #32773 (GMP functions break when second parameter is 0). (Stas)
http://cvs.php.net/diff.php/php-src/main/streams.c?r1=1.125.2.98&r2=1.125.2.99&ty=u
Index: php-src/main/streams.c
diff -u php-src/main/streams.c:1.125.2.98 php-src/main/streams.c:1.125.2.99
--- php-src/main/streams.c:1.125.2.98 Mon May 23 11:37:29 2005
+++ php-src/main/streams.c Mon May 23 17:51:00 2005
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streams.c,v 1.125.2.98 2005/05/23 15:37:29 tony2001 Exp $ */
+/* $Id: streams.c,v 1.125.2.99 2005/05/23 21:51:00 iliaa Exp $ */
#define _GNU_SOURCE
#include "php.h"
@@ -1371,6 +1371,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