The text eec56b74717c, as FreeBSD 7.1-RELEASE shipped it.
extract the directory part of a pathname
dirname(3) on FreeBSD now