mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
This commit is contained in:
parent
95fbb9514e
commit
82f89748a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user