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: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 18:43:54 -0700 (PDT)

y0netan1    2005/04/27 18:43:54 PDT

DragonFly src repository

  Modified files:
    lib/libc/gen         dirname.c 
  Log:
  Backout part of the change in 1.4; copy directory part of the path,
  rather than the whole path. This is something not doable with strlcpy()
  alone, unless source buffer can be writable.
  
  Revision  Changes    Path
  1.5       +3 -1      src/lib/libc/gen/dirname.c


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



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