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

YONETANI Tomokazu y0netan1 at crater.dragonflybsd.org
Wed Apr 27 18:45:03 PDT 2005


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





More information about the Commits mailing list