When GNUstep can not resolve the hostname it will crash.
This is caused by a forgotten argument to NSLOg
See patch below:


---------------------------------------------
Sat Jul 21 23:25:14 2001  Wim Oudshoorn
        * Source/NSHost.m ([NSHost +hostWithName:]):
        Added forgotten argument to NSLog().


--- /home/wim/src/cvs/base/Source/NSHost.m      Thu Jan 18 09:27:00 2001
+++ Source/NSHost.m     Sat Jul 21 23:25:14 2001
@@ -309,7 +309,8 @@
                    @"for this machine (%@) - using loopback address "
                    @"(127.0.0.1)", name);
                  NSLog(@"You probably need a line like '"
-                   @"127.0.0.1 %@ localhost' in your /etc/hosts file");
+                   @"127.0.0.1 %@ localhost' in your /etc/hosts file",
+                       name);
                  host = [self hostWithAddress: @"127.0.0.1"];
                  [host _addName: name];
                }





_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to