diff options
author | Macpaul Lin <macpaul@andestech.com> | 2010-12-17 11:44:32 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-12-18 01:46:38 +0100 |
commit | b2fa0b6219bc8f0e37ea68fc036857a4714fa175 (patch) | |
tree | 0890974a72b682000d282c5476a9d1afc2669543 /scripts | |
parent | e06884208ad766c1107988741a0e102555c3c4fd (diff) |
scripts: fix fixdep.c to let it workable in cygwin
Update retrun character detection in the fixdep.c
to let it work 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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/basic/fixdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 1a5b10f84..f27a17984 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -329,7 +329,7 @@ void parse_dep_file(void *map, size_t len) clear_config(); while (m < end) { - while (m < end && (*m == ' ' || *m == '\\' || *m == '\n')) + while (m < end && (*m == ' ' || *m == '\\' || *m == '\n' || *m == '\r')) m++; p = m; while (p < end && *p != ' ') p++; |