diff options
author | Jim Meyering <jim@meyering.net> | 1997-09-14 03:22:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-09-14 03:22:39 +0000 |
commit | 1778193988928e8b62ff66d05c0a2f43561385f2 (patch) | |
tree | 2fda503c7efbc214455798601b98a5fc58ec2cbb /lib/strverscmp.c | |
parent | 85bb9aba83fee28b5437fe459f4473a1aaaf29f3 (diff) | |
download | coreutils-1778193988928e8b62ff66d05c0a2f43561385f2.tar.xz |
Use `1' not `+1' -- some compilers (sunos' cc) can't parse it.
Diffstat (limited to 'lib/strverscmp.c')
-rw-r--r-- | lib/strverscmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c index b3926f25e..c138df532 100644 --- 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_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_Z */ CMP, +1, +1, CMP, -1, CMP, CMP, CMP, + /* S_Z */ CMP, 1, 1, CMP, -1, CMP, CMP, CMP, -1, CMP, CMP, CMP }; |