diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 19:29:42 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-30 19:29:42 -0700 |
commit | fc158ab464fd58aec17aa590bc2022f539fefc5a (patch) | |
tree | c2690da2d4c900036d9cb4cfaf747e8c4297089c /sys/cmd/cc/pp.c | |
parent | 7c01031fda34b64fb2ca5e73838d860bf3f0d78d (diff) |
bug: temporary removal of musl lib to isolate malloc bug
Diffstat (limited to 'sys/cmd/cc/pp.c')
-rw-r--r-- | sys/cmd/cc/pp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cmd/cc/pp.c b/sys/cmd/cc/pp.c index 4d7c643..57c3501 100644 --- a/sys/cmd/cc/pp.c +++ b/sys/cmd/cc/pp.c @@ -882,6 +882,7 @@ ppinc(Lexer *lx) strcpy(lx->buf, C.inc.dir[i]); strcat(lx->buf, "/"); + if (strcmp(lx->buf, "./") == 0) lx->buf[0] = '\0'; strcat(lx->buf, s); |