Always use strlcpy, in the last case also check the return value to
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 26 Apr 2005 14:27:13 +0000 (14:27 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 26 Apr 2005 14:27:13 +0000 (14:27 +0000)
commite36064868dfc6d12316eef8aa41180369277eca7
treee8778bce08cab2cef7126695872611d08c574a3c
parent434dae9b58b67c9f111f27110945bf4fb4ecf7ef
Always use strlcpy, in the last case also check the return value to
detect truncation.
lib/libc/gen/basename.c