git: usr.sbin/makefs/hammer2: Fix broken extra-directory case

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jul 2 02:16:37 PDT 2023


commit d541bdf518b24b3f6deb5a62fab0ca6492be4470
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Jul 2 01:45:15 2023 -0700

    usr.sbin/makefs/hammer2: Fix broken extra-directory case
    
    -t hammer2 has been broken when [extra-directory ...] was specified.
    (Looks like -t msdos is broken as well with extra-directory.)
    
    Constructing a path via "dir + cur->name" was not same as
    "cur->root + cur->path + cur->name" for extra-directory files
    as extra-directory files don't exist under dir.

Summary of changes:
 usr.sbin/makefs/hammer2.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d541bdf518b24b3f6deb5a62fab0ca6492be4470


-- 
DragonFly BSD source repository


More information about the Commits mailing list