summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-26 14:11:34 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-26 14:11:34 +0000
commite07b611b101827f14af59426815333df4aed4d0e (patch)
tree9f276259ec991a9475af6cbc9defcd2f2ca6d1e3
parent796d5ee3ab465144c434402f55fa37d64ba96c59 (diff)
downloadphp-git-e07b611b101827f14af59426815333df4aed4d0e.tar.gz
fix folding
-rw-r--r--ext/standard/filestat.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 4411924d49..cba61271bd 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -98,14 +98,15 @@
#define S_IXROOT ( S_IXUSR | S_IXGRP | S_IXOTH )
-PHP_RINIT_FUNCTION(filestat)
+PHP_RINIT_FUNCTION(filestat) /* {{{ */
{
BG(CurrentStatFile)=NULL;
BG(CurrentLStatFile)=NULL;
return SUCCESS;
}
+/* }}} */
-PHP_RSHUTDOWN_FUNCTION(filestat)
+PHP_RSHUTDOWN_FUNCTION(filestat) /* {{{ */
{
if (BG(CurrentStatFile)) {
efree (BG(CurrentStatFile));
@@ -117,6 +118,7 @@ PHP_RSHUTDOWN_FUNCTION(filestat)
}
return SUCCESS;
}
+/* }}} */
/* {{{ proto float disk_total_space(string path)
Get total disk space for filesystem that path is on */
@@ -352,7 +354,7 @@ PHP_FUNCTION(disk_free_space)
/* }}} */
#if !defined(WINDOWS)
-static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp)
+static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp) /* {{{ */
{
zval **filename, **group;
gid_t gid;
@@ -417,6 +419,7 @@ static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp)
}
RETURN_TRUE;
}
+/* }}} */
#endif
#ifndef NETWARE
@@ -448,7 +451,7 @@ PHP_FUNCTION(lchgrp)
#endif
#if !defined(WINDOWS)
-static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
+static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) /* {{{ */
{
zval **filename, **user;
int ret;
@@ -512,6 +515,7 @@ static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
RETURN_FALSE;
}
}
+/* }}} */
#endif
#ifndef NETWARE