iliaa Mon Aug 16 19:08:54 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/gd gd.c
Log:
MFH: Fixed bug #29594 (Use PHP's own tmpfile() implementation).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.716&r2=1.1247.2.717&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.716 php-src/NEWS:1.1247.2.717
--- php-src/NEWS:1.1247.2.716 Mon Aug 16 08:34:46 2004
+++ php-src/NEWS Mon Aug 16 19:08:53 2004
@@ -3,6 +3,7 @@
?? ??? 2004, Version 4.3.9
- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
- Fixed bug #29599 (domxml_error segfaults another apache module). (Rob)
+- Fixed bug #29594 (Use PHP's own tmpfile() implementation). (Ilia)
11 Aug 2004, Version 4.3.9RC1
- Rewritten UNIX and Windows install help files. (Documentation Team)
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.221.2.44&r2=1.221.2.45&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.221.2.44 php-src/ext/gd/gd.c:1.221.2.45
--- php-src/ext/gd/gd.c:1.221.2.44 Mon Jul 26 20:27:10 2004
+++ php-src/ext/gd/gd.c Mon Aug 16 19:08:54 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.221.2.44 2004/07/27 00:27:10 iliaa Exp $ */
+/* $Id: gd.c,v 1.221.2.45 2004/08/16 23:08:54 iliaa Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -35,6 +35,7 @@
#include "SAPI.h"
#include "php_gd.h"
#include "ext/standard/info.h"
+#include "php_open_temporary_file.h"
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
@@ -1663,7 +1664,7 @@
FILE *tmp;
char buf[4096];
- tmp = tmpfile();
+ tmp = php_open_temporary_file("", "", NULL TSRMLS_CC);
if (tmp == NULL) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open
temporary file");
RETURN_FALSE;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php