Branch: Tag:

1998-10-22

1998-10-22 00:33:55 by Fredrik H├╝binette (Hubbe) <hubbe@hubbe.net>

fixes for NT

Rev: NT/init_nt:1.14
Rev: src/main.c:1.59
Rev: src/modules/system/nt.c:1.6
Rev: src/signal_handler.c:1.88
Rev: src/stralloc.c:1.47
Rev: src/stralloc.h:1.24

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.58 1998/09/02 01:05:45 grubba Exp $"); + RCSID("$Id: main.c,v 1.59 1998/10/22 00:33:31 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
360:    }   #else /* !HAVE_GETRLIMIT || !RLIMIT_STACK */    /* 128 MB seems a bit extreme, most OS's seem to have their limit at ~8MB */ -  stack_top += STACK_DIRECTION * (1024*1024 * 128 - 8192 * sizeof(char *)); +  stack_top += STACK_DIRECTION * (1024*1024 * 8 - 8192 * sizeof(char *));   #ifdef STACK_DEBUG    fprintf(stderr, "2: C-stack: 0x%08p - 0x%08p, direction:%d\n",    &argv, stack_top, STACK_DIRECTION);