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: strcasestr() patch proposal


Olivier Langlois wrote:
Corinna
You can't do that, except the original LGPLed function was also written
by you, which it isn't.

I have contacted the original authors about the issue. If I get their
contentment then would that be ok?
If not, how can I workaround the issue?
You can write the function new from scratch, or you take another base
implementation which is BSD licensed or something comparable.

Ok, thanks I will explore this possibility but if it requires too much work,
I might just drop my contribution.

I don't think it's that much work. Here's a pointer to the latest version in
FreeBSD's CVS Repository.

http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/string/strcasestr.c?rev=1.4

It isn't as clever as the glibc version but it works. :)

It should be easy to cut this version into newlib.

--joel
Thank you for your help,
Olivier Langlois




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