scripts: fix fixdep.c to let it workable in cygwin
Update return character detection in the fixdep.c to let it workable in cygwin. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime <green.hu@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a3aea32811
commit
10c36b8657
@ -329,7 +329,7 @@ void parse_dep_file(void *map, size_t len)
|
|||||||
clear_config();
|
clear_config();
|
||||||
|
|
||||||
while (m < end) {
|
while (m < end) {
|
||||||
while (m < end && (*m == ' ' || *m == '\\' || *m == '\n'))
|
while (m < end && (*m == ' ' || *m == '\\' || *m == '\n' || *m == '\r'))
|
||||||
m++;
|
m++;
|
||||||
p = m;
|
p = m;
|
||||||
while (p < end && *p != ' ') p++;
|
while (p < end && *p != ' ') p++;
|
||||||
|
Loading…
Reference in New Issue
Block a user