Branch: Tag:

2003-01-11

2003-01-11 01:52:55 by Martin Stjernholm <mast@lysator.liu.se>

Force init of bignum support after the master is loaded, to avoid that the
bignum code later throws loading errors in functions that are called from
places in the compiler where exceptions aren't handled. (It will still
happen if bignum literals are used in the master, though.)

Rev: src/bignum.c:1.28
Rev: src/bignum.h:1.18
Rev: src/main.c:1.164

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: main.c,v 1.163 2003/01/09 18:06:26 grubba Exp $ + || $Id: main.c,v 1.164 2003/01/11 01:52:55 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.163 2003/01/09 18:06:26 grubba Exp $"); + RCSID("$Id: main.c,v 1.164 2003/01/11 01:52:55 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
705:    call_callback(& post_master_callbacks, 0);    free_callback_list(& post_master_callbacks);    + #ifdef AUTO_BIGNUM +  init_auto_bignum(); + #endif +     TRACE((stderr, "Call master->_main()...\n"));       a=allocate_array_no_init(argc,0);