Branch: Tag:

1999-09-16

1999-09-16 03:53:33 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug

Rev: src/program.c:1.144

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.143 1999/09/16 03:52:33 hubbe Exp $"); + RCSID("$Id: program.c,v 1.144 1999/09/16 03:53:33 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1096: Inside #if defined(PIKE_DEBUG)
   if(offset < new_program->storage_needed)    fatal("add_storage failed horribly!\n");    -  if( (offset + OFFSETOF(object,storage) - modulo ) % alignment ) -  fatal("add_storage failed horribly(2)!\n"); +  if( (offset + OFFSETOF(object,storage) - modulo_orig ) % alignment ) +  fatal("add_storage failed horribly(2) %d %d %d %d!\n", +  offset, +  OFFSETOF(object,storage), +  modulo_orig, +  alignment +  );      #endif