Loading CHANGES +3 −0 Original line number Original line Diff line number Diff line Loading @@ -10,6 +10,9 @@ Daniel Fandrich (14 Nov 2008) - Added .xml as one of the few common file extensions known by the multipart - Added .xml as one of the few common file extensions known by the multipart form generator. form generator. - Added some #ifdefs around header files and change the EAGAIN test to fix compilation on Cell (reported by Jeff Curley). Yang Tse (13 Nov 2008) Yang Tse (13 Nov 2008) - Refactored configure script detection of functions used to set sockets into - Refactored configure script detection of functions used to set sockets into non-blocking mode, and decouple function detection from function capability. non-blocking mode, and decouple function detection from function capability. Loading lib/connect.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -848,12 +848,14 @@ singleipconnect(struct connectdata *conn, switch (error) { switch (error) { case EINPROGRESS: case EINPROGRESS: case EWOULDBLOCK: case EWOULDBLOCK: #if defined(EAGAIN) && EAGAIN != EWOULDBLOCK #if defined(EAGAIN) #if (EAGAIN) != (EWOULDBLOCK) /* On some platforms EAGAIN and EWOULDBLOCK are the /* On some platforms EAGAIN and EWOULDBLOCK are the * same value, and on others they are different, hence * same value, and on others they are different, hence * the odd #if * the odd #if */ */ case EAGAIN: case EAGAIN: #endif #endif #endif rc = waitconnect(sockfd, timeout_ms); rc = waitconnect(sockfd, timeout_ms); break; break; Loading lib/dict.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading lib/file.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -57,7 +57,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading lib/telnet.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading Loading
CHANGES +3 −0 Original line number Original line Diff line number Diff line Loading @@ -10,6 +10,9 @@ Daniel Fandrich (14 Nov 2008) - Added .xml as one of the few common file extensions known by the multipart - Added .xml as one of the few common file extensions known by the multipart form generator. form generator. - Added some #ifdefs around header files and change the EAGAIN test to fix compilation on Cell (reported by Jeff Curley). Yang Tse (13 Nov 2008) Yang Tse (13 Nov 2008) - Refactored configure script detection of functions used to set sockets into - Refactored configure script detection of functions used to set sockets into non-blocking mode, and decouple function detection from function capability. non-blocking mode, and decouple function detection from function capability. Loading
lib/connect.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -848,12 +848,14 @@ singleipconnect(struct connectdata *conn, switch (error) { switch (error) { case EINPROGRESS: case EINPROGRESS: case EWOULDBLOCK: case EWOULDBLOCK: #if defined(EAGAIN) && EAGAIN != EWOULDBLOCK #if defined(EAGAIN) #if (EAGAIN) != (EWOULDBLOCK) /* On some platforms EAGAIN and EWOULDBLOCK are the /* On some platforms EAGAIN and EWOULDBLOCK are the * same value, and on others they are different, hence * same value, and on others they are different, hence * the odd #if * the odd #if */ */ case EAGAIN: case EAGAIN: #endif #endif #endif rc = waitconnect(sockfd, timeout_ms); rc = waitconnect(sockfd, timeout_ms); break; break; Loading
lib/dict.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading
lib/file.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -57,7 +57,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading
lib/telnet.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,9 @@ #ifdef HAVE_NET_IF_H #ifdef HAVE_NET_IF_H #include <net/if.h> #include <net/if.h> #endif #endif #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #include <sys/ioctl.h> #endif #ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #include <sys/param.h> Loading