]> granicus.if.org Git - php/commitdiff
Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 19 May 2006 10:44:34 +0000 (10:44 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 19 May 2006 10:44:34 +0000 (10:44 +0000)
NEWS
ext/standard/basic_functions.c
ext/standard/file.c
ext/standard/file.h

diff --git a/NEWS b/NEWS
index f12fc06814d322e8029b344aa2e5587d474bcfc3..0f29091882feacf715f6a4b036ddae9e7580f729 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -52,7 +52,7 @@ PHP                                                                        NEWS
   defined using reflection API. (Johannes)
 - Added second optional parameter to stream_context_create() to set params
   during context creation. (Sara)
-- Added php_get_tmpdir() function that returns the default directory for
+- Added sys_get_temp_dir() function that returns the default directory for
   temporary files (as requested in bug #35380). (Hartmut)
 
 - Fixed bug #36630 (umask not reset at the end of the request). (Ilia)
index 32643ea3b86b0a7a0eb7aa3365b42139210113ed..2841caf70fdde6ea524e34f8513229fe25318e67 100644 (file)
@@ -846,7 +846,7 @@ zend_function_entry basic_functions[] = {
        PHP_FE(output_add_rewrite_var,                                                                                  NULL)
        PHP_FE(output_reset_rewrite_vars,                                                                               NULL)
 
-       PHP_FE(php_get_tmpdir,                                          NULL)
+       PHP_FE(sys_get_temp_dir,                                                NULL)
 
        {NULL, NULL, NULL}
 };
index adf86f2cdab9c731d63432acdd70654cb73999e8..121ba395ad55c9025cadf65e58bc4e0202503517 100644 (file)
@@ -2555,9 +2555,9 @@ PHP_FUNCTION(fnmatch)
 /* }}} */
 #endif
 
-/* {{{ proto string php_get_tmpdir()
+/* {{{ proto string sys_get_temp_dir()
    Returns directory path used for temporary files */
-PHP_FUNCTION(php_get_tmpdir)
+PHP_FUNCTION(sys_get_temp_dir)
 {
        RETURN_STRING((char *)php_get_temporary_directory(), 1);
 }
index 38ae583d7d6d3bb3730ba34624f38c5b56d6ef71..a88e360836d169d20a93662688fc71d007c2a1be 100644 (file)
@@ -66,7 +66,7 @@ PHP_FUNCTION(fnmatch);
 #endif
 PHP_NAMED_FUNCTION(php_if_ftruncate);
 PHP_NAMED_FUNCTION(php_if_fstat);
-PHP_FUNCTION(php_get_tmpdir);
+PHP_FUNCTION(sys_get_temp_dir);
 
 PHP_MINIT_FUNCTION(user_streams);