Branch: Tag:

1999-09-16

1999-09-16 20:30:36 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix (again)

Rev: src/encode.c:1.34
Rev: src/program.c:1.150
Rev: src/program.h:1.58

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.149 1999/09/16 05:14:31 hubbe Exp $"); + RCSID("$Id: program.c,v 1.150 1999/09/16 20:30:34 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1080:   {    long offset;    int modulo; +  +  if(!size) return new_program->storage_needed; +    #ifdef PIKE_DEBUG    if(alignment <=0 || (alignment & (alignment-1)) || alignment > 256)    fatal("Alignment must be 1,2,4,8,16,32,64,128 or 256 not %d\n",alignment);