Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!ucsd!ucbvax!ANDREW.CMU.EDU!gk5g+ From: gk5g+@ANDREW.CMU.EDU (Gary Keim) Newsgroups: comp.soft-sys.andrew Subject: ULstrncmp Message-ID: Date: 25 Oct 90 21:14:44 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 31 If your code relies on ULstrncmp(s1,s2,n) as provided in libutil.a and defined in andrew/overhead/util/lib/ulstrcmp.c beware that as of the next patch the value returned by that routine will be correct! The comment for that routine is correct but it now actually returns the opposite magnitude. int ULstrncmp(s1,s2,n) char *s1, *s2; int n; { /* case INSENSITIVE: Compare strings, up to n chars: s1>s2: >0 s1==s2: 0 s1 0 ) break;