version 1.3, 1997/02/25 00:05:15 |
version 1.4, 1998/04/26 22:49:10 |
|
|
/* ccinit may choose to change xxbufsize */ |
/* ccinit may choose to change xxbufsize */ |
if (tt.tt_ntoken > 0 && ccinit() < 0) |
if (tt.tt_ntoken > 0 && ccinit() < 0) |
return -1; |
return -1; |
xxbuf = malloc((unsigned) xxbufsize * sizeof *xxbuf); |
xxbuf = malloc(xxbufsize * sizeof *xxbuf); |
if (xxbuf == 0) { |
if (xxbuf == 0) { |
wwerrno = WWE_NOMEM; |
wwerrno = WWE_NOMEM; |
return -1; |
return -1; |
|
|
abort(); |
abort(); |
if ((xp = xx_freelist) == 0) |
if ((xp = xx_freelist) == 0) |
/* XXX can't deal with failure */ |
/* XXX can't deal with failure */ |
xp = (struct xx *) malloc((unsigned) sizeof *xp); |
xp = (struct xx *) malloc(sizeof *xp); |
else |
else |
xx_freelist = xp->link; |
xx_freelist = xp->link; |
if (xx_head == 0) |
if (xx_head == 0) |