Branch: Tag:

2001-02-20

2001-02-20 13:02:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Various f_cast()-related fixes.

Rev: src/interpret_functions.h:1.47
Rev: src/module_support.c:1.40
Rev: src/modules/Gmp/mpz_glue.c:1.88
Rev: src/modules/files/file.c:1.212
Rev: src/opcodes.c:1.100
Rev: src/operators.c:1.124

26:   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.99 2001/02/19 23:50:01 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.100 2001/02/20 13:02:11 grubba Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
644: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    struct svalue *save_sp=sp;    if(sp[-2].type != T_TYPE) -  fatal("Cast expression destroyed stack or left droppings!\n"); +  fatal("Cast expression destroyed stack or left droppings! (Type:%d)\n", +  sp[-2].type);   #endif    o_cast(sp[-2].u.type,    compile_type_to_runtime_type(sp[-2].u.string));