]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
build: update gnulib submodule to latest
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Sep 2021 18:41:55 +0000 (11:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Sep 2021 19:57:14 +0000 (12:57 -0700)
* src/common.h (get_directory_entries):
Add _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE.
Problem found by gcc -Wsuggest-attribute=malloc and
current Gnulib.

gnulib
src/common.h

diff --git a/gnulib b/gnulib
index 783f2967e23e6481941c1bf1e73897c66cb4195a..bce94c07f9220c0a12d568f06674cb394556c64a 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 783f2967e23e6481941c1bf1e73897c66cb4195a
+Subproject commit bce94c07f9220c0a12d568f06674cb394556c64a
index 43d0619052b6296c4b2e43b226bccf0dcaf50855..e64b4152b7aedad281c33e16255f976968f383e4 100644 (file)
@@ -499,7 +499,8 @@ enum dump_status
 void add_exclusion_tag (const char *name, enum exclusion_tag_type type,
                        bool (*predicate) (int));
 bool cachedir_file_p (int fd);
-char *get_directory_entries (struct tar_stat_info *st);
+char *get_directory_entries (struct tar_stat_info *st)
+  _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;
 
 void create_archive (void);
 void pad_archive (off_t size_left);