summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMacpaul Lin2010-12-17 11:44:32 +0800
committerDenys Vlasenko2010-12-18 01:46:38 +0100
commitb2fa0b6219bc8f0e37ea68fc036857a4714fa175 (patch)
tree0890974a72b682000d282c5476a9d1afc2669543 /scripts
parente06884208ad766c1107988741a0e102555c3c4fd (diff)
downloadbusybox-b2fa0b6219bc8f0e37ea68fc036857a4714fa175.zip
busybox-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')
-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 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++;