]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #2772 from moubctez/forget_name_max
authorTim Kientzle <kientzle@acm.org>
Sun, 2 Nov 2025 17:08:31 +0000 (09:08 -0800)
committerMartin Matuska <martin@matuska.de>
Mon, 17 Nov 2025 19:19:57 +0000 (20:19 +0100)
Remove name_max leftover

(cherry picked from commit c45a07854dc26e42c638f69d16ef07b3f00d665a)

libarchive/archive_read_disk_posix.c

index 54a8e66188f875e914ed33df8503bd0819489329..e7f9132c532ecf671c4f0681aefd3a21dbf274fe 100644 (file)
@@ -1693,8 +1693,6 @@ setup_current_filesystem(struct archive_read_disk *a)
 #endif
                t->current_filesystem->noatime = 0;
 
-       /* Set maximum filename length. */
-       t->current_filesystem->name_max = svfs.f_namemax;
        return (ARCHIVE_OK);
 }