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

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

[dotgnu-pnet-commits] pnet ChangeLog engine/lib_info.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog engine/lib_info.c
Date: Fri, 03 Nov 2006 20:09:44 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      06/11/03 20:09:44

Modified files:
        .              : ChangeLog 
        engine         : lib_info.c 

Log message:
        2006-11-03  Roman I Khimov  <address@hidden>
        
                * engine/lib_info.c: Fix build with profiles that don't support 
networking.
                (Patch #5516, Klaus)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3384&r2=1.3385
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/lib_info.c?cvsroot=dotgnu-pnet&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3384
retrieving revision 1.3385
diff -u -b -r1.3384 -r1.3385
--- ChangeLog   2 Nov 2006 18:22:40 -0000       1.3384
+++ ChangeLog   3 Nov 2006 20:09:43 -0000       1.3385
@@ -1,3 +1,8 @@
+2006-11-03  Roman I Khimov  <address@hidden>
+
+       * engine/lib_info.c: Fix build with profiles that don't support 
networking.
+       (Patch #5516, Klaus)
+
 2006-11-02  Roman I Khimov  <address@hidden>
 
        * support/time.c: Fix ILGetTimeZoneAdjust if tm_gmtoff is not present in

Index: engine/lib_info.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_info.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- engine/lib_info.c   29 Oct 2006 16:50:39 -0000      1.11
+++ engine/lib_info.c   3 Nov 2006 20:09:44 -0000       1.12
@@ -55,7 +55,13 @@
        {
                return ILStringCreate(thread, env);
        }
+#ifdef IL_CONFIG_NETWORKING
        return _IL_DnsMethods_InternalGetHostName(thread);
+#else
+       ILExecThreadThrowSystem(thread, "System.NotSupportedException", 
+                                       "Exception_ThreadsNotSupported");
+       return 0;
+#endif /* IL_CONFIG_NETWORKING */
 }
 
 /*




reply via email to

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