From: deraadt Date: Wed, 3 Jun 2015 01:49:35 +0000 (+0000) Subject: better description of internal copyn() function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aead66f0fb3c461734b88d1b01f18749cd39f7bc;p=openbsd better description of internal copyn() function --- diff --git a/bin/csh/file.c b/bin/csh/file.c index 5d1fd48993b..f9e3d2015eb 100644 --- a/bin/csh/file.c +++ b/bin/csh/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.19 2015/02/08 05:47:28 tedu Exp $ */ +/* $OpenBSD: file.c,v 1.20 2015/06/03 01:49:35 deraadt Exp $ */ /* $NetBSD: file.c,v 1.11 1996/11/08 19:34:37 christos Exp $ */ /*- @@ -186,8 +186,7 @@ catn(Char *des, Char *src, int count) } /* - * Like strncpy but always leave room for trailing \0 - * and always null terminate. + * Places Char's like strlcpy, but no special return value. */ static void copyn(Char *des, Char *src, int count)