diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c index 3d6aa27e..c6b86d45 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -786,7 +786,7 @@ static int parse_path(char *p) char *c = p; /* Find the next directory */ - while (*c && *c != ':') + while (*c && !my_isspace(*c)) c++; str = refstrndup(p, c - p);