dmitry Mon Nov 6 14:54:52 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard filestat.c
Log:
Windows doesn't have chown(). Remove unused function and reference to
undeclared macro VCWD_CHOWN().
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/filestat.c?r1=1.136.2.8.2.3&r2=1.136.2.8.2.4&diff_format=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.136.2.8.2.3
php-src/ext/standard/filestat.c:1.136.2.8.2.4
--- php-src/ext/standard/filestat.c:1.136.2.8.2.3 Sun Jul 2 13:51:40 2006
+++ php-src/ext/standard/filestat.c Mon Nov 6 14:54:52 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.136.2.8.2.3 2006/07/02 13:51:40 iliaa Exp $ */
+/* $Id: filestat.c,v 1.136.2.8.2.4 2006/11/06 14:54:52 dmitry Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -428,6 +428,7 @@
/* }}} */
#endif
+#if !defined(WINDOWS)
static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
{
zval **filename, **user;
@@ -473,6 +474,7 @@
RETURN_FALSE;
}
}
+#endif
#ifndef NETWARE
/* {{{ proto bool chown (string filename, mixed user)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php