From 10c36b86574133bb1cd29ad04db64c7953b94ab5 Mon Sep 17 00:00:00 2001 From: Greentime Date: Fri, 17 Dec 2010 11:44:32 +0800 Subject: [PATCH] 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 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++;