DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 04:50:51 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]