aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@andestech.com>2010-12-17 11:44:32 +0800
committerDenys Vlasenko <vda.linux@googlemail.com>2010-12-18 01:46:38 +0100
commitb2fa0b6219bc8f0e37ea68fc036857a4714fa175 (patch)
tree0890974a72b682000d282c5476a9d1afc2669543 /scripts/basic
parente06884208ad766c1107988741a0e102555c3c4fd (diff)
downloadbusybox-b2fa0b6219bc8f0e37ea68fc036857a4714fa175.tar.gz
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/basic')
-rw-r--r--scripts/basic/fixdep.c2
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++;