From: Dmitry Stogov Date: Mon, 6 Nov 2006 14:55:14 +0000 (+0000) Subject: Windows doesn't have chown(). Remove unused function and reference to undeclared... X-Git-Tag: RELEASE_1_0_0RC1~1121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5e8f02f0ed59e1aad32495ef2a051a6851c00f4;p=php Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN(). --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index c2077669aa..5db97ba85e 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -489,6 +489,7 @@ PHP_FUNCTION(lchgrp) /* }}} */ #endif /* !NETWARE */ +#if !defined(WINDOWS) static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) { char *filename; @@ -545,6 +546,7 @@ static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) RETURN_FALSE; } } +#endif #ifndef NETWARE /* {{{ proto bool chown (string filename, mixed user) U