1
0
mirror of https://github.com/mirror/make.git synced 2025-04-24 20:10:40 +08:00

(collapse_continuations): Fix skipping of trailing \s so it can never

dereference before the beginning of the array.
This commit is contained in:
Roland McGrath 1995-12-12 04:24:17 +00:00
parent dfdf1bec21
commit 76d037cb95

5
misc.c
View File

@ -50,9 +50,8 @@ collapse_continuations (line)
return;
out = in;
if (out > line)
while (out[-1] == '\\')
--out;
while (out > line && out[-1] == '\\')
--out;
while (*in != '\0')
{