FW: FW: strcasestr() patch proposal

Jeff Johnston jjohnstn@redhat.com
Sun Jun 10 13:02:00 GMT 2007


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.
>>     
>
>   



More information about the Newlib mailing list