DragonFly commits List (threaded) for 2005-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libc/gen basename.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]