]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
libarchive-util: update comment for new library symbols
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jun 2026 05:58:06 +0000 (14:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jun 2026 06:01:06 +0000 (15:01 +0900)
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).

src/shared/libarchive-util.c

index c037f4a770b76925fc6adf57aa3f7f681b269e81..a67a3c7d953daa1b016484e2597f5cfb98bafda8 100644 (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);