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


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog support/socket.c
Date: Sun, 03 Feb 2008 11:10:16 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      08/02/03 11:10:16

Modified files:
        .              : ChangeLog 
        support        : socket.c 

Log message:
        Support SOCK_RAW only if it's defined. (Patch #6398 by Andreas Färber)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3534&r2=1.3535
http://cvs.savannah.gnu.org/viewcvs/pnet/support/socket.c?cvsroot=dotgnu-pnet&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3534
retrieving revision 1.3535
diff -u -b -r1.3534 -r1.3535
--- ChangeLog   3 Feb 2008 10:43:56 -0000       1.3534
+++ ChangeLog   3 Feb 2008 11:10:15 -0000       1.3535
@@ -8,6 +8,9 @@
        * support/console.c, support/serial.c: Include sys/socket.h if present.
        That's needed for BeOS. (patch #6397)
 
+       * support/socket.c: Support SOCK_RAW only if it's defined because BeOS
+       has incomplete socket support. (patch #6398)
+
 2008-01-06  Klaus Treichel  <address@hidden>
 
        * engine/jitc_array.c: Rename GetArrayBase to _ILJitSArrayGetBase and

Index: support/socket.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/socket.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- support/socket.c    4 Jan 2008 23:46:33 -0000       1.29
+++ support/socket.c    3 Feb 2008 11:10:16 -0000       1.30
@@ -445,12 +445,14 @@
                        type = SOCK_DGRAM; 
                }
                break;
+/* BeOS has incomplete socket support */
+#ifdef SOCK_RAW
                case IL_SOCK_RAW:
                {
                        type = SOCK_RAW; 
                }
                break;
-/* BeOS has incomplete socket support */
+#endif
 #ifdef SOCK_SEQPACKET
                case IL_SOCK_SEQPACKET: 
                {




reply via email to

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