summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2006-05-19 10:44:34 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2006-05-19 10:44:34 +0000
commit205bdeda417d72db9b38fcbb7651e9af5aa72749 (patch)
tree16d1e3a84f84a98d8affc2e83ea63165e02aa8bb /ext
parent1417222aee62a8bdea9c4e74e13ca752cb183f29 (diff)
downloadphp-git-205bdeda417d72db9b38fcbb7651e9af5aa72749.tar.gz
Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/file.c4
-rw-r--r--ext/standard/file.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 32643ea3b8..2841caf70f 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -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}
};
diff --git a/ext/standard/file.c b/ext/standard/file.c
index adf86f2cda..121ba395ad 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -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);
}
diff --git a/ext/standard/file.h b/ext/standard/file.h
index 38ae583d7d..a88e360836 100644
--- a/ext/standard/file.h
+++ b/ext/standard/file.h
@@ -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);