cvs: php4 /ext/sockets sockets.c
| From: | Sascha Schumann | Date: | Sun, 24 Jun 2001 21:16:21 +0000 |
| Subject: | cvs: php4 /ext/sockets sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6006@lists.php.net to get a copy of this message | ||
sas Sun Jun 24 23:16:21 2001 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Remove bogus use of volatile and add a note about using inet_ntop
instead.
Index: php4/ext/sockets/sockets.c
diff -u php4/ext/sockets/sockets.c:1.52 php4/ext/sockets/sockets.c:1.53
--- php4/ext/sockets/sockets.c:1.52 Tue Jun 12 23:06:01 2001
+++ php4/ext/sockets/sockets.c Sun Jun 24 23:16:21 2001
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.52 2001/06/12 21:06:01 dbeu Exp $ */
+/* $Id: sockets.c,v 1.53 2001/06/24 21:16:21 sas Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -164,8 +164,8 @@
ZEND_GET_MODULE(sockets)
#endif
-/* this should be mutex'ed */
-volatile int inet_ntoa_lock = 0;
+/* inet_ntop should be used instead of inet_ntoa */
+int inet_ntoa_lock = 0;
static void destroy_fd_sets(zend_rsrc_list_entry *rsrc)
{