CVS update: php3/functions
| From: | sas | Date: | Mon, 15 Mar 1999 16:02:50 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4627@lists.php.net to get a copy of this message | ||
Date: Monday March 15, 1999 @ 11:02
Author: sas
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv15851/functions
Modified Files:
file.c
Log Message:
shutdown sockets properly
Index: php3/functions/file.c
diff -c php3/functions/file.c:1.201 php3/functions/file.c:1.202
*** php3/functions/file.c:1.201 Sun Feb 28 18:00:42 1999
--- php3/functions/file.c Mon Mar 15 11:02:50 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.201 1999/02/28 23:00:42 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.202 1999/03/15 16:02:50 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 432,437 ****
--- 432,440 ----
int socketd=*sock;
if (socketd){
if(!_php3_is_persistent_sock(socketd)) {
+ #if HAVE_SHUTDOWN
+ shutdown(socketd, 0);
+ #endif
#if WIN32|WINNT
closesocket(socketd);
#else
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net