diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-11-06 14:54:52 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-11-06 14:54:52 +0000 |
commit | 82f89748a4760dc7c992c06616e40fd687672478 (patch) | |
tree | 08c1a078626f3ef1ac47627aaebd29381335bb0c /ext/standard | |
parent | 95fbb9514eca19d2f705f4c7ebbd1584479d4500 (diff) | |
download | php-git-82f89748a4760dc7c992c06616e40fd687672478.tar.gz |
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/filestat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 59862ac299..126ace89f9 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -428,6 +428,7 @@ PHP_FUNCTION(lchgrp) /* }}} */ #endif +#if !defined(WINDOWS) static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) { zval **filename, **user; @@ -473,6 +474,7 @@ static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) RETURN_FALSE; } } +#endif #ifndef NETWARE /* {{{ proto bool chown (string filename, mixed user) |