From 24437ccb75df357bce76ff26ce1b348e0b567b48 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Sat, 25 Sep 2004 13:19:45 +0000 Subject: [PATCH] cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare --- ext/standard/basic_functions.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) 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) -- 2.50.1