Fix one last nit: compare the result of strlcpy() only to see if it is
authorJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sun, 18 Sep 2005 14:00:14 +0000 (14:00 +0000)
committerJeroen Ruigrok/asmodai <asmodai@dragonflybsd.org>
Sun, 18 Sep 2005 14:00:14 +0000 (14:00 +0000)
commitbd8cdd03c5b4ef1bcc0c2b4d401f38960cd6dcde
tree753e9620dbe2556213aca3e94e9cc7918b7f57c5
parent19d39a5693a19dd3fb40b3fbc85de0e7f305a549
Fix one last nit: compare the result of strlcpy() only to see if it is
bigger than MAXPATHLEN.  strlcpy() NUL-terminates the destination string
and thus we are allowed to be equal in length to MAXPATHLEN's value.
lib/libc/gen/basename.c