artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f0c30
)
better description of internal copyn() function
author
deraadt
<deraadt@openbsd.org>
Wed, 3 Jun 2015 01:49:35 +0000
(
01:49
+0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 3 Jun 2015 01:49:35 +0000
(
01:49
+0000)
bin/csh/file.c
patch
|
blob
|
history
diff --git
a/bin/csh/file.c
b/bin/csh/file.c
index
5d1fd48
..
f9e3d20
100644
(file)
--- 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)