[PATCH] Modify strnstr.c.

Eric Blake eblake@redhat.com
Mon Aug 28 15:15:00 GMT 2017

On 08/28/2017 03:45 AM, Corinna Vinschen wrote:
> On Aug 26 21:28, Sichen Zhao wrote:
>> ---
>>  newlib/libc/string/strnstr.c | 24 ++++++++----------------
>>  1 file changed, 8 insertions(+), 16 deletions(-)

> Input needed:
> Given this is a complete reimplementation not based on FreeBSD code at
> all, and given the code has been contributed by Eric, shouldn't we
> remove the entire copyright header and move this under newlib default
> licensing?

Seems reasonable to me (we aren't really copying the FreeBSD
implementation, just the interface). Default newlib licensing is fine;
it's also okay if you list yourself as author instead of me (I didn't
test my code, only suggested it), although if you want to put authorship
on my shoulders that's also okay.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20170828/721723e3/attachment.sig>

More information about the Newlib mailing list