hholzgra                Fri May 19 10:44:34 2006 UTC

  Modified files:              
    /php-src    NEWS 
    /php-src/ext/standard       basic_functions.c file.c file.h 
  Log:
  Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
  
  
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2115&r2=1.2116&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2115 php-src/NEWS:1.2116
--- php-src/NEWS:1.2115 Sat May  6 09:59:02 2006
+++ php-src/NEWS        Fri May 19 10:44:34 2006
@@ -52,7 +52,7 @@
   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)
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/basic_functions.c?r1=1.772&r2=1.773&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.772 
php-src/ext/standard/basic_functions.c:1.773
--- php-src/ext/standard/basic_functions.c:1.772        Fri May 19 06:11:02 2006
+++ php-src/ext/standard/basic_functions.c      Fri May 19 10:44:34 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.772 2006/05/19 06:11:02 dmitry Exp $ */
+/* $Id: basic_functions.c,v 1.773 2006/05/19 10:44:34 hholzgra Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -846,7 +846,7 @@
        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}
 };
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.441&r2=1.442&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.441 php-src/ext/standard/file.c:1.442
--- php-src/ext/standard/file.c:1.441   Sat May  6 09:59:02 2006
+++ php-src/ext/standard/file.c Fri May 19 10:44:34 2006
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: file.c,v 1.441 2006/05/06 09:59:02 hholzgra Exp $ */
+/* $Id: file.c,v 1.442 2006/05/19 10:44:34 hholzgra Exp $ */
 
 /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
 
@@ -2555,9 +2555,9 @@
 /* }}} */
 #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);
 }
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.h?r1=1.98&r2=1.99&diff_format=u
Index: php-src/ext/standard/file.h
diff -u php-src/ext/standard/file.h:1.98 php-src/ext/standard/file.h:1.99
--- php-src/ext/standard/file.h:1.98    Sat May  6 09:59:02 2006
+++ php-src/ext/standard/file.h Fri May 19 10:44:34 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: file.h,v 1.98 2006/05/06 09:59:02 hholzgra Exp $ */
+/* $Id: file.h,v 1.99 2006/05/19 10:44:34 hholzgra Exp $ */
 
 /* Synced with php 3.0 revision 1.30 1999-06-16 [ssb] */
 
@@ -66,7 +66,7 @@
 #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);
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to