libarchive-util: update comment for new library symbols

archive_entry_gid_is_set() and archive_entry_uid_is_set() are added by
https://github.com/libarchive/libarchive/commit/8acb738db6bc7087a5e7cdd328bbfb6e673e5bd8 (3.7.3).

archive_entry_hardlink_is_set() is added by
https://github.com/libarchive/libarchive/commit/07206cd172c73cbe3b6b3d64e00f427fa0befa54 (3.7.5).
This commit is contained in:
Yu Watanabe
2026-06-02 15:01:06 +09:00
parent f9e956522d
commit 16f72b2468
+2 -1
View File
@@ -145,7 +145,8 @@ int dlopen_libarchive(int log_level) {
if (r <= 0)
return r;
/* Optional symbols: present in newer libarchive versions only. If missing, sym_X keeps its
/* Optional symbols: archive_entry_gid_is_set and archive_entry_uid_is_set exist only in libarchive
* 3.7.3+, archive_entry_hardlink_is_set exists only in 3.7.5+. If missing, sym_X keeps its
* fallback-function initializer (see above). */
DLSYM_OPTIONAL(libarchive_dl, archive_entry_gid_is_set);
DLSYM_OPTIONAL(libarchive_dl, archive_entry_uid_is_set);