version 1.19, 2003/04/04 00:42:34 |
version 1.20, 2003/04/06 06:12:01 |
|
|
s = getsval(y); |
s = getsval(y); |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
FATAL("out of memory for %s[%s...]", x->nval, buf); |
FATAL("out of memory for %s[%s...]", x->nval, buf); |
strcat(buf, s); |
strlcat(buf, s, bufsz); |
if (np->nnext) |
if (np->nnext) |
strcat(buf, *SUBSEP); |
strlcat(buf, *SUBSEP, bufsz); |
tempfree(y); |
tempfree(y); |
} |
} |
if (!isarr(x)) { |
if (!isarr(x)) { |
|
|
s = getsval(y); |
s = getsval(y); |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
FATAL("out of memory deleting %s[%s...]", x->nval, buf); |
FATAL("out of memory deleting %s[%s...]", x->nval, buf); |
strcat(buf, s); |
strlcat(buf, s, bufsz); |
if (np->nnext) |
if (np->nnext) |
strcat(buf, *SUBSEP); |
strlcat(buf, *SUBSEP, bufsz); |
tempfree(y); |
tempfree(y); |
} |
} |
freeelem(x, buf); |
freeelem(x, buf); |
|
|
s = getsval(x); |
s = getsval(x); |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, 0)) |
FATAL("out of memory deleting %s[%s...]", x->nval, buf); |
FATAL("out of memory deleting %s[%s...]", x->nval, buf); |
strcat(buf, s); |
strlcat(buf, s, bufsz); |
tempfree(x); |
tempfree(x); |
if (p->nnext) |
if (p->nnext) |
strcat(buf, *SUBSEP); |
strlcat(buf, *SUBSEP, bufsz); |
} |
} |
k = lookup(buf, (Array *) ap->sval); |
k = lookup(buf, (Array *) ap->sval); |
tempfree(ap); |
tempfree(ap); |