cvs commit: src/lib/libc/gen basename.c
Jeroen Ruigrok/asmodai
asmodai at crater.dragonflybsd.org
Sun Sep 18 07:02:09 PDT 2005
asmodai 2005/09/18 07:00:14 PDT
DragonFly src repository
Modified files:
lib/libc/gen basename.c
Log:
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.
Revision Changes Path
1.7 +1 -1 src/lib/libc/gen/basename.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/basename.c.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list