Skip to content

Commit

Permalink
Fix PATH parsing to match the documentation at
Browse files Browse the repository at this point in the history
  • Loading branch information
ppokorny committed Mar 6, 2017
1 parent 647e30a commit 64fb71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com32/elflink/ldlinux/readconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 64fb71b

Please sign in to comment.