projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012945f
)
(CMP_WITH_IGNORE): Don't assume that the difference
author
Jim Meyering
<jim@meyering.net>
Mon, 21 Jan 2002 22:02:28 +0000
(22:02 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 21 Jan 2002 22:02:28 +0000
(22:02 +0000)
between two size_t values can be stored in an int; this doesn't
work, for example, on 64-bit Solaris.
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index
ac82dcf
..
409071a
100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-1431,7
+1431,7
@@
keycompare (const struct line *a, const struct line *b)
++textb; \
} \
\
- diff = (
lima - texta) - (limb - text
b); \
+ diff = (
texta < lima) - (textb < lim
b); \
} \
while (0)