cvs: php-src(PHP_5_0) /ext/ftp ftp.c

From: Date: Wed, 05 Jan 2005 09:40:50 +0000
Subject: cvs: php-src(PHP_5_0) /ext/ftp ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29766@lists.php.net to get a copy of this message
hyanantha Wed Jan 5 04:40:50 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/ftp ftp.c Log: Removed redundant NEW_LIBC checks http://cvs.php.net/diff.php/php-src/ext/ftp/ftp.c?r1=1.103.2.2&r2=1.103.2.3&ty=u Index: php-src/ext/ftp/ftp.c diff -u php-src/ext/ftp/ftp.c:1.103.2.2 php-src/ext/ftp/ftp.c:1.103.2.3 --- php-src/ext/ftp/ftp.c:1.103.2.2 Tue Oct 5 19:53:14 2004 +++ php-src/ext/ftp/ftp.c Wed Jan 5 04:40:49 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.103.2.2 2004/10/05 23:53:14 iliaa Exp $ */ +/* $Id: ftp.c,v 1.103.2.3 2005/01/05 09:40:49 hyanantha Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -42,13 +42,9 @@ #ifdef USE_WINSOCK /* Modified to use Winsock (NOVSOCK2.H), atleast for now */ #include <novsock2.h> #else -#ifdef NEW_LIBC #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> -#else -#include <sys/socket.h> -#endif #endif #else #ifdef HAVE_SYS_TYPES_H @@ -77,7 +73,7 @@ #include "ext/standard/fsock.h" /* Additional headers for NetWare */ -#if defined(NETWARE) && defined(NEW_LIBC) && !defined(USE_WINSOCK) +#if defined(NETWARE) && !defined(USE_WINSOCK) #include <sys/select.h> #endif

« previous php.cvs (#29766) next »