projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e068842
)
scripts: fix fixdep.c to let it workable in cygwin
author
Macpaul Lin
<macpaul@andestech.com>
Fri, 17 Dec 2010 03:44:32 +0000
(11:44 +0800)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 18 Dec 2010 00:46:38 +0000
(
01:46
+0100)
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>
scripts/basic/fixdep.c
patch
|
blob
|
history
diff --git
a/scripts/basic/fixdep.c
b/scripts/basic/fixdep.c
index 1a5b10f84894364d1ad5f6e5b09281147ac7f910..f27a179841ca1d65f2b135ac5f1e8a9eb8cb113a 100644
(file)
--- 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++;