Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: [PATCH] Implement safe_strncpy() as strlcpy() and use it more.

From: Rene Scharfe <hidden>
Date: 2016-06-15 22:42:29

Peter Eriksen schrieb:
On Sun, Jun 11, 2006 at 07:15:40PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
quoted
In article [ref] (at Sun, 11 Jun 2006 12:06:28 +0200), "Peter Eriksen" [off-list ref] says:
quoted
I've taken strlcpy() from the OpenBSD CVS without attribution.  Is this
allowed?  If it is, how should it be stated?
Please include full copyright information.
Where should this information go?  Just above the function
safe_strncpy(), or at the top of path.c?  I believe path.c is GPL, so
can this be mixed freely with BSD licensed code?  Should I put
safe_strncpy() into a seperate file as with strlcpy()?
Yes...  Or you could avoid all of this by using a GPL'd version, like
the one from the Linux kernel (in lib/string.c).

René
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help