[GOODIE] [CRASH] [UNIX] Multiuser chat server.
Ned Konz
ned at bike-nomad.com
Fri Sep 21 02:49:51 UTC 2001
On Thursday 20 September 2001 07:14 pm, Scott A Crosby wrote:
> First, a simple bug to warm everyone up.
> Invoke squeak with 'squeak -memory'
> *segfault*
--- ../src/unix/sqXWindow.c.orig Wed Jul 25 14:21:22 2001
+++ ../src/unix/sqXWindow.c Thu Sep 20 19:46:47 2001
@@ -4047,7 +4091,11 @@
if (asmAlign < 1) asmAlign= 1;
if (asmAlign > 16) asmAlign= 16;
}
- else if (!strcmp(arg, "-memory")) initialHeapSize= strtobkm(saveArg());
+ else if (!strcmp(arg, "-memory")) {
+ const char *arg = saveArg();
+ if (arg)
+ initialHeapSize= strtobkm(arg);
+ }
# if !defined(HEADLESS)
else if (!strcmp(arg, "-display")) displayName= saveArg();
else if (!strcmp(arg, "-browserWindow"))
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|