bug fixed: oldmap(lmap,llength) was sometimes called when no new map
authorbal <none@none>
Mon, 28 Jan 1985 11:38:06 +0000 (11:38 +0000)
committerbal <none@none>
Mon, 28 Jan 1985 11:38:06 +0000 (11:38 +0000)
had to be allocated for the current (data-) unit.

util/ego/ca/ca_put.c

index 9701792..58cee1b 100644 (file)
@@ -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;
        }
 }