cvs: php4(PHP_4_0_7) /ext/standard filestat.c
| From: | Joey Smith | Date: | Tue, 21 Aug 2001 23:59:21 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7002@lists.php.net to get a copy of this message | ||
joey Tue Aug 21 19:59:21 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/standard filestat.c
Log:
MFH: Make stat() act like stat, not filesize().
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.78 php4/ext/standard/filestat.c:1.78.2.1
--- php4/ext/standard/filestat.c:1.78 Sun Aug 12 17:23:15 2001
+++ php4/ext/standard/filestat.c Tue Aug 21 19:59:21 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.78 2001/08/12 21:23:15 zeev Exp $ */
+/* $Id: filestat.c,v 1.78.2.1 2001/08/21 23:59:21 joey Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -862,7 +862,7 @@
/* {{{ proto array stat(string filename)
Give information about a file */
-FileFunction(php_if_stat, FS_SIZE)
+FileFunction(php_if_stat, FS_STAT)
/* }}} */
/*