/[gcl]/gcl/o/alloc.c
ViewVC logotype

Diff of /gcl/o/alloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by camm, Tue Jun 14 22:38:26 2005 UTC revision 1.47 by camm, Thu Jun 16 17:02:18 2005 UTC
# Line 815  init_tm(enum type t, char *name, int els Line 815  init_tm(enum type t, char *name, int els
815    /* round up to next number of pages */    /* round up to next number of pages */
816    
817    lu=elsize;    lu=elsize;
818    if (fobj(lu)->td.emf)    if (NOT_OBJECT_ALIGNED(lu))
819      error("structure size must allow for type, mark, and free bits");      error("structure size is not properly aligned");
820    
821    maxpage = (((nelts * elsize) + PAGESIZE -1)/PAGESIZE);    maxpage = (((nelts * elsize) + PAGESIZE -1)/PAGESIZE);
822    tm_table[(int)t].tm_name = name;    tm_table[(int)t].tm_name = name;

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26