git: usr.sbin/makefs/hammer2: Trim redundant / in input path

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jun 18 21:10:29 PDT 2023


commit 6857f034386455e55e5ca87b75b84db5fcc3522e
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Jun 18 21:43:43 2023 -0700

    usr.sbin/makefs/hammer2: Trim redundant / in input path
    
    HAMMER2 ioctl commands in makefs(8) that need to resolve input path
    components fail if the path contains consecutive or leading or tailing /.
    Trim these /'s, instead of just trailing ones.

Summary of changes:
 usr.sbin/makefs/hammer2.c | 158 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 133 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6857f034386455e55e5ca87b75b84db5fcc3522e


-- 
DragonFly BSD source repository


More information about the Commits mailing list