cvs commit: src/lib/libc/gen dirname.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Wed Apr 27 04:51:18 PDT 2005


joerg       2005/04/27 04:50:51 PDT

DragonFly src repository

  Modified files:
    lib/libc/gen         dirname.c 
  Log:
  Always use strlcpy, in the last case of possible truncation also check
  the return value and return NULL if necesary.
  
  Revision  Changes    Path
  1.4       +8 -11     src/lib/libc/gen/dirname.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/dirname.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list