]> granicus.if.org Git - php/commitdiff
@ - Renamed diskfreespace() to disk_free_space() to conform to established
authorJon Parise <jon@php.net>
Tue, 15 May 2001 23:28:17 +0000 (23:28 +0000)
committerJon Parise <jon@php.net>
Tue, 15 May 2001 23:28:17 +0000 (23:28 +0000)
@   naming conventions. (jon)

ext/standard/basic_functions.c
ext/standard/filestat.c
ext/standard/php_filestat.h

index 90b25dd1d3d7bae5fc4b39df68e15b6f1faa8c96..c73a073f5adcf07103ba40a08a77a0adb11b0d22 100644 (file)
@@ -505,7 +505,8 @@ function_entry basic_functions[] = {
        PHP_FE(chmod,                                   NULL)
        PHP_FE(touch,                                   NULL)
        PHP_FE(clearstatcache,                  NULL)
-       PHP_FE(diskfreespace,                   NULL)
+       PHP_FE(disk_free_space,                 NULL)
+       PHP_FALIAS(diskfreespace,       disk_free_space,        NULL)
 
        /* functions from mail.c */
 #ifdef HAVE_SENDMAIL
index 9d021c2e9e00f3f9afef547c3f910edb7fb9e573..54d1b0ca8bd93c57369efc1758fcdb7104f5f66e 100644 (file)
@@ -124,9 +124,9 @@ PHP_RSHUTDOWN_FUNCTION(filestat)
        return SUCCESS;
 }
 
-/* {{{ proto double diskfreespace(string path)
-   Get free diskspace for filesystem that path is on */
-PHP_FUNCTION(diskfreespace)
+/* {{{ proto double disk_free_space(string path)
+   Get free disk space for filesystem that path is on */
+PHP_FUNCTION(disk_free_space)
 {
        pval **path;
 #ifdef WINDOWS
index fc78fb4dfe637a8cdbac258111cee2307f169922..57e30c35b756451762b40172098cb85a011e92d6 100644 (file)
@@ -43,7 +43,7 @@ PHP_FUNCTION(is_link);
 PHP_FUNCTION(file_exists);
 PHP_NAMED_FUNCTION(php_if_stat);
 PHP_NAMED_FUNCTION(php_if_lstat);
-PHP_FUNCTION(diskfreespace);
+PHP_FUNCTION(disk_free_space);
 PHP_FUNCTION(chown);
 PHP_FUNCTION(chgrp);
 PHP_FUNCTION(chmod);