[112645] trunk/base/src/pextlib1.0/tracelib.c

cal at macports.org cal at macports.org
Mon Oct 28 14:29:43 PDT 2013


Revision: 112645
          https://trac.macports.org/changeset/112645
Author:   cal at macports.org
Date:     2013-10-28 14:29:43 -0700 (Mon, 28 Oct 2013)
Log Message:
-----------
tracelib: cleanup, not functional change

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/tracelib.c

Modified: trunk/base/src/pextlib1.0/tracelib.c
===================================================================
--- trunk/base/src/pextlib1.0/tracelib.c	2013-10-28 20:48:23 UTC (rev 112644)
+++ trunk/base/src/pextlib1.0/tracelib.c	2013-10-28 21:29:43 UTC (rev 112645)
@@ -774,7 +774,6 @@
     cleanuping = 1;
     pthread_mutex_lock(&sock_mutex);
     if (sock != -1) {
-        /* shutdown(sock, SHUT_RDWR);*/
         close(sock);
         sock = -1;
     }
@@ -798,9 +797,7 @@
     cleanuping = 1;
     pthread_mutex_lock(&sock_mutex);
     if (sock != -1) {
-        int oldsock = sock;
-        /*shutdown(sock, SHUT_RDWR);*/
-        close(oldsock);
+        close(sock);
         sock = -1;
 
         if (kq != -1) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131028/6bfe5d14/attachment.html>


More information about the macports-changes mailing list