Branch: Tag:

1997-07-18

1997-07-18 01:44:28 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugs fixed

Rev: src/modules/files/file.c:1.48
Rev: src/modules/files/file.h:1.4
Rev: src/modules/files/socket.c:1.12
Rev: src/object.c:1.20
Rev: src/pike_macros.h:1.3
Rev: src/program.c:1.35
Rev: src/program.h:1.16

9:   #include <sys/param.h>   #include "pike_memory.h"    + #define OFFSETOF(str_type, field) ((long)& (((struct str_type *)0)->field))   #define BASEOF(ptr, str_type, field) \   ((struct str_type *)((char*)ptr - (char*)& (((struct str_type *)0)->field)))