dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnet ChangeLog support/socket.c cscc/common/cc_...


From: Gopal.V
Subject: [dotgnu-pnet-commits] pnet ChangeLog support/socket.c cscc/common/cc_...
Date: Thu, 24 Aug 2006 22:07:26 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Gopal.V <t3rmin4t0r>    06/08/24 22:07:26

Modified files:
        .              : ChangeLog 
        support        : socket.c 
        cscc/common    : cc_main.c 

Log message:
        Patch  #5323 and #5326 
        
        Socket flags (IPPROTO_TCP instead of SOL_TCP ...)
        Status code for _cwait

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3353&r2=1.3354
http://cvs.savannah.gnu.org/viewcvs/pnet/support/socket.c?cvsroot=dotgnu-pnet&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/pnet/cscc/common/cc_main.c?cvsroot=dotgnu-pnet&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3353
retrieving revision 1.3354
diff -u -b -r1.3353 -r1.3354
--- ChangeLog   24 Aug 2006 17:45:35 -0000      1.3353
+++ ChangeLog   24 Aug 2006 22:07:26 -0000      1.3354
@@ -1,3 +1,11 @@
+
+2006-08-25  Yan Burman  <address@hidden>
+
+       * support/socket.c: Use IPPROTO_TCP and IPPROTO_UDP instead of the 
+       SOL_* macros. (patch #5323, Gopal)
+
+       * cscc/common/cc_main.c: get exit codes from _cwait. (patch #5326, 
Gopal)
+
 2006-08-24  Klaus treichel  <address@hidden>
 
        * engine/debugger.c: Wrap the #include <unistd.h> in #ifdef 
HAVE_UNISTD_H
@@ -5618,3 +5626,4 @@
        * engine/lib_reflect.c: closures are not available if libffi
        is disabled.
 
+

Index: support/socket.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/socket.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- support/socket.c    21 Feb 2005 12:17:06 -0000      1.24
+++ support/socket.c    24 Aug 2006 22:07:26 -0000      1.25
@@ -74,6 +74,17 @@
 #endif
 #endif
 
+#ifdef IL_WIN32_NATIVE
+       /* Win32 defines IPPROTO_TCP, not SOL_TCP */
+       #if !defined (SOL_TCP) && defined(IPPROTO_TCP)
+               #define SOL_TCP IPPROTO_TCP
+       #endif
+       /* Win32 defines IPPROTO_UDP, not SOL_UDP */
+       #if !defined (SOL_UDP) && defined(IPPROTO_UDP)
+               #define SOL_UDP IPPROTO_UDP
+       #endif 
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif

Index: cscc/common/cc_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- cscc/common/cc_main.c       22 Aug 2006 18:15:41 -0000      1.35
+++ cscc/common/cc_main.c       24 Aug 2006 22:07:26 -0000      1.36
@@ -888,7 +888,7 @@
 #elif defined _WIN32
        int status = 1;
        fclose(file);
-       if (_cwait(NULL, pid, _WAIT_CHILD) == -1)
+       if (_cwait(&status, pid, _WAIT_CHILD) == -1)
        {
                perror("_cwait");
                return 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]