Date: Sat, 14 Sep 1996 21:43:43 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: current@freebsd.org Subject: str*cmp Message-ID: <199609141943.VAA02898@campa.panke.de>
next in thread | raw e-mail | index | archive | help
src/lib/libc/string/strcmp.c int strcmp(s1, s2) register const char *s1, *s2; { while (*s1 == *s2++) if (*s1++ == 0) ^^^^^^^^^^ should be (*s1++ == '\0') Wolfram
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609141943.VAA02898>