cvs: php-src /ext/sockets php_sockets_win.h sockets.c
| From: | Jani Taskinen | Date: | Sat, 12 Feb 2005 18:14:06 +0000 |
| Subject: | cvs: php-src /ext/sockets php_sockets_win.h sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30364@lists.php.net to get a copy of this message | ||
sniper Sat Feb 12 13:14:06 2005 EDT
Modified files:
/php-src/ext/sockets php_sockets_win.h sockets.c
Log:
Remove unused set_h_errno
http://cvs.php.net/diff.php/php-src/ext/sockets/php_sockets_win.h?r1=1.10&r2=1.11&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.11
--- 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:14: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.11 2005/02/12 18:14: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.166&r2=1.167&ty=u
Index: php-src/ext/sockets/sockets.c
diff -u php-src/ext/sockets/sockets.c:1.166 php-src/ext/sockets/sockets.c:1.167
--- php-src/ext/sockets/sockets.c:1.166 Fri Sep 17 08:44:56 2004
+++ php-src/ext/sockets/sockets.c Sat Feb 12 13:14:03 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.166 2004/09/17 12:44:56 wez Exp $ */
+/* $Id: sockets.c,v 1.167 2005/02/12 18:14: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"