This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: FW: FW: strcasestr() patch proposal
- From: "Olivier Langlois" <olivier dot langlois at streamtheworld dot com>
- To: <newlib at sourceware dot org>
- Date: Fri, 8 Jun 2007 12:03:29 -0400
- Subject: RE: FW: FW: strcasestr() patch proposal
Hi Jeff,
Nothing is missing in the freebsd implementation. In fact, it might even be
better than glibc version by being simpler. I took the first implementation
that Google code returned without knowing all implications.
Greetings,
> Chris is correct. You either need to base off the BSD version or else
> you must write a new one based on the API description). Newlib has
> changed a few code licenses in the past with author permission, but not
> for FSF contributed works. The following Freebsd implementation seems
> fairly straightforward. Is there anything missing?
>
> strcasestr.c:
> http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/string/strcasestr.c?rev
> =1.4;content-type=text%2Fplain
>
> If not, I can add it the repository.
>
> -- Jeff J.