git: sbin/hammer: Remove getdir()

Tomohiro Kusumi tkusumi at
Sat Oct 8 18:29:57 PDT 2016

commit 09e40bf39c8ab0a4611fa6d1c1b1f35578c6d308
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sat Oct 8 16:22:34 2016 +0900

    sbin/hammer: Remove getdir()
    Using dirname(3) with a santiy check for trailing / on creating PFS
    does the same as getdir(), so use a library rather than its own.
    No one uses getdir() anymore, so it can be removed.

Summary of changes:
 sbin/hammer/cmd_pfs.c | 35 ++++-------------------------------
 1 file changed, 4 insertions(+), 31 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list