diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
| commit | 81e2cf03ac62c29c6bb365c31b9229aa3b4deff8 (patch) | |
| tree | a0680a82219899445723cc36b058d9c4d263e17f /ext/standard/filestat.c | |
| parent | 3bfd50f4f1dedb756c4e45566e2f8e172ab435ec (diff) | |
| download | php-git-81e2cf03ac62c29c6bb365c31b9229aa3b4deff8.tar.gz | |
Fix folding and clean up some extensions
Diffstat (limited to 'ext/standard/filestat.c')
| -rw-r--r-- | ext/standard/filestat.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 41d0603e44..2eb07d8f20 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -421,7 +421,6 @@ PHP_FUNCTION(chown) } /* }}} */ - /* {{{ proto bool chmod(string filename, int mode) Change file mode */ PHP_FUNCTION(chmod) @@ -462,7 +461,6 @@ PHP_FUNCTION(chmod) } /* }}} */ - /* {{{ proto bool touch(string filename [, int time]) Set modification time of file */ PHP_FUNCTION(touch) @@ -535,7 +533,6 @@ PHP_FUNCTION(touch) } /* }}} */ - /* {{{ proto void clearstatcache(void) Clear file stat cache */ PHP_FUNCTION(clearstatcache) @@ -551,6 +548,8 @@ PHP_FUNCTION(clearstatcache) #define IS_LINK_OPERATION() (type == 8 /* filetype */ || type == 14 /* is_link */ || type == 16 /* lstat */) +/* {{{ php_stat + */ static void php_stat(const char *filename, php_stat_len filename_length, int type, pval *return_value) { zval *stat_dev,*stat_ino,*stat_mode,*stat_nlink,*stat_uid,*stat_gid,*stat_rdev, @@ -761,6 +760,7 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ php_error(E_WARNING, "didn't understand stat call"); RETURN_FALSE; } +/* }}} */ /* another quickie macro to make defining similar functions easier */ #define FileFunction(name, funcnum) \ @@ -868,5 +868,6 @@ FileFunction(php_if_stat,17) * tab-width: 4 * c-basic-offset: 4 * End: - * vim: sw=4 ts=4 tw=78 fdm=marker + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 */ |
