summaryrefslogtreecommitdiff
path: root/ext/standard/php_filestat.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2006-03-05 18:57:54 +0000
committerDerick Rethans <derick@php.net>2006-03-05 18:57:54 +0000
commitf87e7b8babbe000f6201986b8735c6f233824df8 (patch)
treeb70f61a4088a3381a803cbeb3009d4dc2184c3aa /ext/standard/php_filestat.h
parent7d7304541580bac79045299196a75ab50e94243d (diff)
downloadphp-git-f87e7b8babbe000f6201986b8735c6f233824df8.tar.gz
- Added lchown() and lchgrp() to change user/group ownership of symlinks.
Diffstat (limited to 'ext/standard/php_filestat.h')
-rw-r--r--ext/standard/php_filestat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/standard/php_filestat.h b/ext/standard/php_filestat.h
index 66d690a5d0..4c18392d06 100644
--- a/ext/standard/php_filestat.h
+++ b/ext/standard/php_filestat.h
@@ -47,9 +47,18 @@ PHP_FUNCTION(disk_total_space);
PHP_FUNCTION(disk_free_space);
PHP_FUNCTION(chown);
PHP_FUNCTION(chgrp);
+#if HAVE_LCHOWN
+PHP_FUNCTION(lchown);
+#endif
+#if HAVE_LCHOWN
+PHP_FUNCTION(lchgrp);
+#endif
PHP_FUNCTION(chmod);
#if HAVE_UTIME
PHP_FUNCTION(touch);
+# if HAVE_LTOUCH
+PHP_FUNCTION(ltouch);
+# endif
#endif
PHP_FUNCTION(clearstatcache);