Branch: Tag:

1999-10-26

1999-10-26 00:18:39 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix(es) for random

Rev: src/builtin_functions.c:1.194
Rev: src/modules/Gmp/mpz_glue.c:1.55

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.193 1999/10/26 00:08:14 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.194 1999/10/26 00:18:04 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
340:    {    pop_n_elems(args-1);    apply(sp[-1].u.object,"_random",0); +  stack_swap(); +  pop_stack();    return;    }