com php-src: added comment: Zend/zend_portability.h
| From: | Anatol Belski | Date: | Fri, 14 Nov 2014 16:39:39 +0000 |
| Subject: | com php-src: added comment: Zend/zend_portability.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83096@lists.php.net to get a copy of this message | ||
Commit: b7eee5bfaf12588d9b3558c82f35ea9d14791a02
Author: Anatol Belski <ab@php.net> Fri, 14 Nov 2014 10:20:03 +0100
Parents: 8434a7f2abb6ee5be0a4b38c1a7add6cdc21a426
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b7eee5bfaf12588d9b3558c82f35ea9d14791a02
Log:
added comment
Changed paths:
M Zend/zend_portability.h
Diff:
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index f056b16..73a4f3b 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -394,6 +394,7 @@ char *alloca();
#define ZEND_SECURE_ZERO(var, size) memset((var), 0, (size))
#endif
+/* This check should only be used on network socket, not file descriptors */
#ifdef ZEND_WIN32
#define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock))
#else