From: Jim Meyering Date: Sun, 14 Sep 1997 03:22:39 +0000 (+0000) Subject: Use `1' not `+1' -- some compilers (sunos' cc) can't parse it. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0741796cc5b40360d932efcc6a1ea4d7a1295aca;p=pspp Use `1' not `+1' -- some compilers (sunos' cc) can't parse it. --- diff --git a/lib/strverscmp.c b/lib/strverscmp.c index b3926f25e0..c138df5328 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 };