Branch: Tag:

2000-01-10

2000-01-10 00:39:55 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

random_seed moved to work better with bignums and static modules..

Rev: lib/master.pike.in:1.93

1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.92 2000/01/05 13:32:55 mast Exp $ +  * $Id: master.pike.in,v 1.93 2000/01/10 00:39:55 hubbe Exp $    *    * Master-file for Pike.    *
495:    add_include_path("¤lib_prefix¤/include");    add_module_path("¤lib_prefix¤/modules");   #endif -  -  random_seed(time() + (getpid() * 0x11111111)); +    }      /*
998:    exit(0);       case "execute": +  random_seed(time() + (getpid() * 0x11111111));    compile_string("#include <simulate.h>\nmixed create(){"+opts[1]+";}")();    exit(0);   
1010:    argv = tmp->get_args(argv,1);    }    +  random_seed(time() + (getpid() * 0x11111111)); +     if(sizeof(argv)==1)    {    /* Attempt to resolv Tools.Hilfe.StdinHilfe */