Backout part of the change in 1.4; copy directory part of the path,
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Thu, 28 Apr 2005 01:43:53 +0000 (01:43 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Thu, 28 Apr 2005 01:43:53 +0000 (01:43 +0000)
commit162ac4860481853044eafc94cc2dd76ce4e46e1d
treeccb4a8682af624e39cf89fa1b4133acbb753bfbe
parentfae79d55c01b8488c7b3068ebad3008324c4a661
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.
lib/libc/gen/dirname.c