Few LCC memory fixes.
This commit is contained in:
1 parent
7c2dd01873
commit
76ec9fb6bd
2 files changed
+4
-2
No files matched your search
@@ -315,7 +315,7 @@ puttokens(Tokenrow *trp)
|
||||
if (wbp >= &wbuf[OBS]) {
|
||||
write(1, wbuf, OBS);
|
||||
if (wbp > &wbuf[OBS])
|
||||
memcpy(wbuf, wbuf+OBS, wbp - &wbuf[OBS]);
|
||||
memmove(wbuf, wbuf+OBS, wbp - &wbuf[OBS]);
|
||||
wbp -= OBS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user