Newsgroups: comp.os.minix Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: "Bug" in strstr() and fix Message-ID: <1989Oct4.204607.11894@utzoo.uucp> Organization: U of Toronto Zoology References: <19847@princeton.Princeton.EDU> Date: Wed, 4 Oct 89 20:46:07 GMT In article <19847@princeton.Princeton.EDU> nfs@notecnirp.UUCP (Norbert Schlenker) writes: >There is a bug (actually a misfeature, since the comments seem to >indicate intention) in Henry Spencer's strstr() routine. The most >recent draft of the ANSI C standard (in 4.11.5.7) says... Note well that my string functions were built to match an early draft of ANSI C, and have not been updated. (An update is now in the works.) -- Nature is blind; Man is merely | Henry Spencer at U of Toronto Zoology shortsighted (and improving). | uunet!attcan!utzoo!henry henry@zoo.toronto.edu