]> granicus.if.org Git - php/commitdiff
remove obsolete comment
authorAnatol Belski <ab@php.net>
Wed, 19 Mar 2014 05:35:58 +0000 (06:35 +0100)
committerAnatol Belski <ab@php.net>
Wed, 19 Mar 2014 05:35:58 +0000 (06:35 +0100)
ext/standard/streamsfuncs.c

index e19a453fd8e7c07324640947c3823e6a74d9f504..8d42a51af67781c2a5ef2cb6bc097d43406b8dc7 100644 (file)
@@ -610,9 +610,6 @@ static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t
                 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
                 zend_hash_move_forward(Z_ARRVAL_P(stream_array))) {
 
-               /* Temporary int fd is needed for the STREAM data type on windows, passing this_fd directly to php_stream_cast()
-                       would eventually bring a wrong result on x64. php_stream_cast() casts to int internally, and this will leave
-                       the higher bits of a SOCKET variable uninitialized on systems with little endian. */
                php_socket_t this_fd;
 
                php_stream_from_zval_no_verify(stream, elem);