diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-09 18:04:18 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-09 18:04:18 +0300 |
commit | 24ddf2742b0034089bce38e5f4ebd99b93c6e161 (patch) | |
tree | f1bebfcf20d78673b656122b0258c5054a999562 /io.c | |
parent | 9091a155190093c3d2dbbed4bd29b0feec50c8ce (diff) | |
download | egawk-24ddf2742b0034089bce38e5f4ebd99b93c6e161.tar.gz egawk-24ddf2742b0034089bce38e5f4ebd99b93c6e161.tar.bz2 egawk-24ddf2742b0034089bce38e5f4ebd99b93c6e161.zip |
Further fixes from Andrew Schorr.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3164,7 +3164,7 @@ iop_finish(IOBUF *iop) lintwarn(_("data file `%s' is empty"), iop->public.name); iop->errcode = errno = 0; iop->count = iop->scanoff = 0; - emalloc(iop->buf, char *, iop->size += 2, "iop_finish"); + emalloc(iop->buf, char *, iop->size += 1, "iop_finish"); iop->off = iop->buf; iop->dataend = NULL; iop->end = iop->buf + iop->size; |