From: Anantha Kesari H Y Date: Sat, 25 Sep 2004 13:19:45 +0000 (+0000) Subject: cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare X-Git-Tag: PRE_NEW_VM_GEN_PATCH~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24437ccb75df357bce76ff26ce1b348e0b567b48;p=php cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 0ca118a4cd..c9449ee492 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -51,19 +51,12 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; #include #include -#ifndef NETWARE -#include -#else -/*#include "netware/env.h"*/ /* Temporary */ -#ifdef NEW_LIBC /* Same headers hold good for Winsock and Berkeley sockets */ +#ifdef NETWARE #include -/*#include */ -#include -#else -#include -#endif #endif +#include + #if HAVE_ARPA_INET_H # include #endif @@ -696,8 +689,10 @@ function_entry basic_functions[] = { PHP_FE(is_link, NULL) PHP_NAMED_FE(stat, php_if_stat, NULL) PHP_NAMED_FE(lstat, php_if_lstat, NULL) +#ifndef NETWARE PHP_FE(chown, NULL) PHP_FE(chgrp, NULL) +#endif PHP_FE(chmod, NULL) #if HAVE_UTIME PHP_FE(touch, NULL)