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

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

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:29


On Sun, 11 Jun 2006, Peter Eriksen wrote:
quoted
Please include full copyright information.
Where should this information go?
Gaah, for soemthing as trivial as strlcpy(), please either just rewrite 
the function (you can only do it in so many ways), since the copyright 
message is _bigger_ and more annoying than the code itself.

Or, just attribute it. Say "this is a trivial implementation 'strlcpy()' 
shamelessly stolen from OpenBSD, originally under a BSD license, converted 
to GPLv2"

That whole "big copyright messages" thign is a _disease_. 

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