mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare
This commit is contained in:
parent
0ec80db02a
commit
24437ccb75
@ -51,19 +51,12 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef NETWARE
|
||||
#include <netdb.h>
|
||||
#else
|
||||
/*#include "netware/env.h"*/ /* Temporary */
|
||||
#ifdef NEW_LIBC /* Same headers hold good for Winsock and Berkeley sockets */
|
||||
#ifdef NETWARE
|
||||
#include <netinet/in.h>
|
||||
/*#include <arpa/inet.h>*/
|
||||
#include <netdb.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include<netdb.h>
|
||||
|
||||
#if HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user