OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6c55f
)
diffutils/src/util.c: Fix wrong type cast. This bug causes unexpected diff result...
author
sdottaka
<sdottaka@sourceforge.net>
Thu, 27 Mar 2014 16:59:28 +0000
(
01:59
+0900)
committer
sdottaka
<sdottaka@sourceforge.net>
Thu, 27 Mar 2014 16:59:28 +0000
(
01:59
+0900)
--HG--
branch : stable
Src/diffutils/src/util.c
patch
|
blob
|
history
diff --git
a/Src/diffutils/src/util.c
b/Src/diffutils/src/util.c
index
2d7ebf9
..
3b8a1c2
100644
(file)
--- a/
Src/diffutils/src/util.c
+++ b/
Src/diffutils/src/util.c
@@
-389,7
+389,7
@@
line_cmp (s1, len1, s2, len2)
/* Any whitespace sequence counts as one space */
c1 = ' ';
/* Skip to end of whitespace sequence */
- while (t1-(unsigned char)s1<(int)len1 && ISWSPACE(*t1))
+ while (t1-(unsigned char
*
)s1<(int)len1 && ISWSPACE(*t1))
++t1;
/* if c1 is whitespace and c2 is end of line
we must advance c1 to next char, because c1