stack in gethostname
authorClaus Gittinger <cg@exept.de>
Thu, 23 Jan 2003 12:52:19 +0100
changeset 6960 f53bba609580
parent 6959 e766340a8f5b
child 6961 096ca5ceb662
stack in gethostname
UnixOperatingSystem.st
--- a/UnixOperatingSystem.st	Tue Jan 21 16:27:35 2003 +0100
+++ b/UnixOperatingSystem.st	Thu Jan 23 12:52:19 2003 +0100
@@ -8083,7 +8083,11 @@
      Notice:
         not all systems support this; on some, nil is returned."
 
-%{  /* STACK: 2048 */
+%{  /* STACK: 100000 */
+
+    /* sigh - with libc.so.6, gethostname needs huge amounts of stack
+     * actually this is linux specific, but should not hurt others
+     */
 #if defined(HAS_GETHOSTNAME)
     char buffer[256];
 
@@ -10503,7 +10507,7 @@
 !UnixOperatingSystem::FilePointerHandle class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.133 2002-11-11 21:25:39 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.134 2003-01-23 11:52:19 cg Exp $'
 ! !
 
 !UnixOperatingSystem::FilePointerHandle methodsFor:'release'!
@@ -12171,7 +12175,7 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.133 2002-11-11 21:25:39 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.134 2003-01-23 11:52:19 cg Exp $'
 ! !
 
 UnixOperatingSystem initialize!