From: bal Date: Mon, 28 Jan 1985 11:38:06 +0000 (+0000) Subject: bug fixed: oldmap(lmap,llength) was sometimes called when no new map X-Git-Tag: release-5-5~5697 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=387191a2c7f581b040f81ff8669c1d3ebc09aee1;p=ack.git bug fixed: oldmap(lmap,llength) was sometimes called when no new map had to be allocated for the current (data-) unit. --- diff --git a/util/ego/ca/ca_put.c b/util/ego/ca/ca_put.c index 9701792cb..58cee1b67 100644 --- a/util/ego/ca/ca_put.c +++ b/util/ego/ca/ca_put.c @@ -397,8 +397,9 @@ cputlines(l,lf) } oldline(lnp); } - if (thispro != (proc_p) 0) { + if (lmap != (line_p *) 0) { oldmap(lmap,llength); + lmap = (line_p *) 0; } }