cvs commit: src/lib/libc/gen dirname.c
Jeroen Ruigrok/asmodai
asmodai at crater.dragonflybsd.org
Sun Sep 18 08:17:10 PDT 2005
asmodai 2005/09/18 08:15:06 PDT
DragonFly src repository
Modified files:
lib/libc/gen dirname.c
Log:
Rework dirname() with the same logic Joerg introduced for basename():
using strlcpy() instead of the memcpy().
Revision Changes Path
1.9 +1 -3 src/lib/libc/gen/dirname.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/dirname.c.diff?r1=1.8&r2=1.9&f=u
More information about the Commits
mailing list