[PATCH] Modify strnstr.c.

Sichen Zhao 1473996754@qq.com
Mon Aug 28 15:32: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.
>
Ok, the license of newlib. i copy it from other c file in newlib, like:
/* Copyright 2017, Red Hat Inc. */
Is that ok?

Sichen





More information about the Newlib mailing list