From b2fa0b6219bc8f0e37ea68fc036857a4714fa175 Mon Sep 17 00:00:00 2001 From: Macpaul Lin Date: Fri, 17 Dec 2010 11:44:32 +0800 Subject: [PATCH] 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 Signed-off-by: Greentime Signed-off-by: Denys Vlasenko --- scripts/basic/fixdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.25.1