tony2001 Mon Dec 25 19:19:08 2006 UTC
Modified files:
/php-src/ext/standard streamsfuncs.c
Log:
stream_socket_shutdown() is Unicode safe by definition
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.97&r2=1.98&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.97
php-src/ext/standard/streamsfuncs.c:1.98
--- php-src/ext/standard/streamsfuncs.c:1.97 Tue Dec 19 08:59:26 2006
+++ php-src/ext/standard/streamsfuncs.c Mon Dec 25 19:19:08 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streamsfuncs.c,v 1.97 2006/12/19 08:59:26 dmitry Exp $ */
+/* $Id: streamsfuncs.c,v 1.98 2006/12/25 19:19:08 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1646,7 +1646,7 @@
/* }}} */
#ifdef HAVE_SHUTDOWN
-/* {{{ proto int stream_socket_shutdown(resource stream, int how)
+/* {{{ proto int stream_socket_shutdown(resource stream, int how) U
causes all or part of a full-duplex connection on the socket associated
with stream to be shut down. If how is SHUT_RD, further receptions
will
be disallowed. If how is SHUT_WR, further transmissions will be
disallowed.
@@ -1672,8 +1672,8 @@
RETURN_BOOL(php_stream_xport_shutdown(stream, (stream_shutdown_t)how
TSRMLS_CC) == 0);
}
-#endif
/* }}} */
+#endif
/*
* Local variables:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php