cvs: php-src(PHP_5_0) /ext/sockets php_sockets_win.h sockets.c

From: Date: Sat, 12 Feb 2005 18:15:04 +0000
Subject: cvs: php-src(PHP_5_0) /ext/sockets php_sockets_win.h sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30365@lists.php.net to get a copy of this message
sniper Sat Feb 12 13:15:04 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/sockets php_sockets_win.h sockets.c Log: MFH: Removed unused set_h_errno macro http://cvs.php.net/diff.php/php-src/ext/sockets/php_sockets_win.h?r1=1.10&r2=1.10.2.1&ty=u Index: php-src/ext/sockets/php_sockets_win.h diff -u php-src/ext/sockets/php_sockets_win.h:1.10 php-src/ext/sockets/php_sockets_win.h:1.10.2.1 --- php-src/ext/sockets/php_sockets_win.h:1.10 Thu Jan 8 12:32:48 2004 +++ php-src/ext/sockets/php_sockets_win.h Sat Feb 12 13:15:03 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sockets_win.h,v 1.10 2004/01/08 17:32:48 sniper Exp $ */ +/* $Id: php_sockets_win.h,v 1.10.2.1 2005/02/12 18:15:03 sniper Exp $ */ #ifdef PHP_WIN32 @@ -41,7 +41,6 @@ #define errno WSAGetLastError() #define h_errno WSAGetLastError() #define set_errno(a) WSASetLastError(a) -#define set_h_errno(a) WSASetLastError(a) #define close(a) closesocket(a) struct sockaddr_un { http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.165.2.1&r2=1.165.2.2&ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.165.2.1 php-src/ext/sockets/sockets.c:1.165.2.2 --- php-src/ext/sockets/sockets.c:1.165.2.1 Tue Sep 28 05:30:20 2004 +++ php-src/ext/sockets/sockets.c Sat Feb 12 13:15:03 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.165.2.1 2004/09/28 09:30:20 wez Exp $ */ +/* $Id: sockets.c,v 1.165.2.2 2005/02/12 18:15:03 sniper Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -50,7 +50,6 @@ # include <sys/uio.h> # define IS_INVALID_SOCKET(a) (a->bsd_socket < 0) # define set_errno(a) (errno = a) -# define set_h_errno(a) (h_errno = a) #else /* windows */ # include "php_sockets.h" # include "php_sockets_win.h"

« previous php.cvs (#30365) next »