DragonFly BSD
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 dirname.c


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Sep 2005 08:15:06 -0700 (PDT)

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



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