tony2001 Thu Sep 28 08:26:33 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/main php_open_temporary_file.c Log: MFH http://cvs.php.net/viewvc.cgi/php-src/main/php_open_temporary_file.c?r1=1.34.2.1.2.2&r2=1.34.2.1.2.3&diff_format=u Index: php-src/main/php_open_temporary_file.c diff -u php-src/main/php_open_temporary_file.c:1.34.2.1.2.2 php-src/main/php_open_temporary_file.c:1.34.2.1.2.3 --- php-src/main/php_open_temporary_file.c:1.34.2.1.2.2 Wed Sep 27 23:44:13 2006 +++ php-src/main/php_open_temporary_file.c Thu Sep 28 08:26:33 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_open_temporary_file.c,v 1.34.2.1.2.2 2006/09/27 23:44:13 iliaa Exp $ */ +/* $Id: php_open_temporary_file.c,v 1.34.2.1.2.3 2006/09/28 08:26:33 tony2001 Exp $ */ #include "php.h" @@ -206,7 +206,7 @@ PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC) { int fd; - char *temp_dir = php_get_temporary_directory(); + const char *temp_dir = php_get_temporary_directory(); if (!pfx) { pfx = "tmp.";
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php