FW: FW: strcasestr() patch proposal

Jeff Johnston jjohnstn@redhat.com
Fri Jun 8 16:03:00 GMT 2007


Christopher Faylor wrote:
> On Fri, Jun 08, 2007 at 09:38:57AM -0400, Olivier Langlois wrote:
>   
>> I did not just said it. I provided a copy of his e-mail.
>> What else do you need to believe it?
>>
>> Of course, the copy is not digitally signed so if you are a paranoiac that
>> think I am lying, you can always double check with him:
>>     
>
> I'm not sure if you understand this but you are not the first person in
> this situation.  You're not even the first person who claimed to be
> amazed at how complicated contributing copyrighted work was who then
> went on to offer IANAL legal opinions.
>
> This isn't a matter of not trusting your good intentions.  The FSF does
> not simply accept email when someone assigns their work to them.  They
> require a written document (which takes forever to get approved).
> Having someone turn around and send email saying "It's ok to use what I
> wrote under a different license" has to be questioned in that scenario.
>
> I appreciate that you are proud of your contributions and want to get
> something into cygwin but I think you'd be better served modifying one
> of the *BSD sources since those are already the basis for many of the
> software in newlib.  If you had asked what was best when you first
> started down this road that is what we would have told you.  Again, you
> are not the first person who has tried to get something from glibc into
> newlib.  I am not the maintainer but I am not aware of anyone who has
> been successful in this endeavor.
>
> cgf
>   

I'll pipe up here.

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