[git commit master 1/1] scripts: fix fixdep.c to let it workable in cygwin
Denys Vlasenko
vda.linux at googlemail.com
Sat Dec 18 00:46:38 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=b2fa0b6219bc8f0e37ea68fc036857a4714fa175
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Update retrun character detection in the fixdep.c
to let it work in cygwin.
Signed-off-by: Macpaul Lin <macpaul at andestech.com>
Signed-off-by: Greentime <green.hu at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
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 1a5b10f..f27a179 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++;
--
1.7.2.2
More information about the busybox-cvs
mailing list