cvs: php4 /ext/standard basic_functions.c filestat.c php_filestat.h

From: Date: Tue, 15 May 2001 23:28:17 +0000
Subject: cvs: php4 /ext/standard basic_functions.c filestat.c php_filestat.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5763@lists.php.net to get a copy of this message
jon Tue May 15 16:28:17 2001 EDT Modified files: /php4/ext/standard basic_functions.c filestat.c php_filestat.h Log: @ - Renamed diskfreespace() to disk_free_space() to conform to established @ naming conventions. (jon) Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.337 php4/ext/standard/basic_functions.c:1.338 --- php4/ext/standard/basic_functions.c:1.337 Mon May 14 13:56:05 2001 +++ php4/ext/standard/basic_functions.c Tue May 15 16:28:17 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.337 2001/05/14 20:56:05 andrei Exp $ */ +/* $Id: basic_functions.c,v 1.338 2001/05/15 23:28:17 jon Exp $ */ #include "php.h" #include "php_main.h" @@ -505,7 +505,8 @@ 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: php4/ext/standard/filestat.c diff -u php4/ext/standard/filestat.c:1.65 php4/ext/standard/filestat.c:1.66 --- php4/ext/standard/filestat.c:1.65 Mon May 14 11:30:07 2001 +++ php4/ext/standard/filestat.c Tue May 15 16:28:17 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filestat.c,v 1.65 2001/05/14 18:30:07 derick Exp $ */ +/* $Id: filestat.c,v 1.66 2001/05/15 23:28:17 jon Exp $ */ #include "php.h" #include "safe_mode.h" @@ -124,9 +124,9 @@ 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: php4/ext/standard/php_filestat.h diff -u php4/ext/standard/php_filestat.h:1.10 php4/ext/standard/php_filestat.h:1.11 --- php4/ext/standard/php_filestat.h:1.10 Fri May 11 12:55:44 2001 +++ php4/ext/standard/php_filestat.h Tue May 15 16:28:17 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_filestat.h,v 1.10 2001/05/11 19:55:44 jason Exp $ */ +/* $Id: php_filestat.h,v 1.11 2001/05/15 23:28:17 jon Exp $ */ #ifndef PHP_FILESTAT_H #define PHP_FILESTAT_H @@ -43,7 +43,7 @@ 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);

« previous php.cvs (#5763) next »