This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: FW: strcasestr() patch proposal


Great. Patch checked in.

-- Jeff J.

Olivier Langlois wrote:
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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]