projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
26c04f0
)
Use `1' not `+1' -- some compilers (sunos' cc) can't parse it.
author
Jim Meyering
<jim@meyering.net>
Sun, 14 Sep 1997 03:22:39 +0000
(
03:22
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 14 Sep 1997 03:22:39 +0000
(
03:22
+0000)
lib/strverscmp.c
patch
|
blob
|
history
diff --git
a/lib/strverscmp.c
b/lib/strverscmp.c
index
b3926f2
..
c138df5
100644
(file)
--- a/
lib/strverscmp.c
+++ b/
lib/strverscmp.c
@@
-71,11
+71,11
@@
strverscmp (s1, s2)
/* S_N */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP,
CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP,
/* S_N */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP,
CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP,
- /* S_I */ CMP, -1, -1, CMP,
+
1, LEN, LEN, CMP,
-
+
1, LEN, LEN, CMP, CMP, CMP, CMP, CMP,
+ /* S_I */ CMP, -1, -1, CMP,
1, LEN, LEN, CMP,
+
1, LEN, LEN, CMP, CMP, CMP, CMP, CMP,
/* S_F */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP,
CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP,
/* S_F */ CMP, CMP, CMP, CMP, CMP, LEN, CMP, CMP,
CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP,
- /* S_Z */ CMP,
+1, +
1, CMP, -1, CMP, CMP, CMP,
+ /* S_Z */ CMP,
1,
1, CMP, -1, CMP, CMP, CMP,
-1, CMP, CMP, CMP
};
-1, CMP, CMP, CMP
};