From: Antony Dovgal Date: Thu, 28 Sep 2006 08:26:45 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.4.5RC1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f67c006ec35f1467948446bae9ef3855ac2457e2;p=php MFH --- diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index e4ce52910e..c479e9e6c6 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -207,7 +207,7 @@ PHPAPI const char* php_get_temporary_directory(void) 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.";