dmitry          Mon Nov  6 14:55:15 2006 UTC

  Modified files:              
    /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.150&r2=1.151&diff_format=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.150 
php-src/ext/standard/filestat.c:1.151
--- php-src/ext/standard/filestat.c:1.150       Thu Sep 21 23:36:13 2006
+++ php-src/ext/standard/filestat.c     Mon Nov  6 14:55:14 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: filestat.c,v 1.150 2006/09/21 23:36:13 pollita Exp $ */
+/* $Id: filestat.c,v 1.151 2006/11/06 14:55:14 dmitry Exp $ */
 
 #include "php.h"
 #include "fopen_wrappers.h"
@@ -489,6 +489,7 @@
 /* }}} */
 #endif /* !NETWARE */
 
+#if !defined(WINDOWS)
 static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
 {
        char *filename;
@@ -545,6 +546,7 @@
                RETURN_FALSE;
        }
 }
+#endif
 
 #ifndef NETWARE
 /* {{{ proto bool chown (string filename, mixed user) U

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to