diff options
author | Derick Rethans <derick@php.net> | 2006-01-04 12:22:23 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2006-01-04 12:22:23 +0000 |
commit | 223aa7294d6c072c84df5d3a350606f3774f58d9 (patch) | |
tree | f82a2029f2540e9fb5a2cfc8bc2a28ce2c347f23 /ext/standard/basic_functions.c | |
parent | 42736d6d70b72767221c445bb2b2075611186698 (diff) | |
download | php-git-223aa7294d6c072c84df5d3a350606f3774f58d9.tar.gz |
- Added the lchown() and lchgrp() functions which change permissions and group
permissions on symbolic links.
#- We'll also add this to PHP 5.1.3? or PHP 5.2, so I didn't add it to NEWS.
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 55106d26cc..5943d37b4e 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -696,6 +696,12 @@ zend_function_entry basic_functions[] = { PHP_FE(chown, NULL) PHP_FE(chgrp, NULL) #endif +#if HAVE_LCHOWN + PHP_FE(lchown, NULL) +#endif +#if HAVE_LCHOWN + PHP_FE(lchgrp, NULL) +#endif PHP_FE(chmod, NULL) #if HAVE_UTIME PHP_FE(touch, NULL) |