cvs: php-src /main php_open_temporary_file.c

From: Date: Thu, 28 Sep 2006 08:26:19 +0000
Subject: cvs: php-src /main php_open_temporary_file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40740@lists.php.net to get a copy of this message
tony2001 Thu Sep 28 08:26:19 2006 UTC Modified files: /php-src/main php_open_temporary_file.c Log: fix compile warning http://cvs.php.net/viewvc.cgi/php-src/main/php_open_temporary_file.c?r1=1.37&r2=1.38&diff_format=u Index: php-src/main/php_open_temporary_file.c diff -u php-src/main/php_open_temporary_file.c:1.37 php-src/main/php_open_temporary_file.c:1.38 --- php-src/main/php_open_temporary_file.c:1.37 Wed Sep 27 23:44:34 2006 +++ php-src/main/php_open_temporary_file.c Thu Sep 28 08:26:19 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_open_temporary_file.c,v 1.37 2006/09/27 23:44:34 iliaa Exp $ */ +/* $Id: php_open_temporary_file.c,v 1.38 2006/09/28 08:26:19 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.";

« previous php.cvs (#40740) next »