]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
build: update submodules to latest
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2022 21:44:36 +0000 (16:44 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2022 23:54:21 +0000 (18:54 -0500)
* src/common.h: Include <inttostr.h> since paxutils no longer does.
(STRINGIFY_BIGINT): New macro, copied from older paxutils.
(UINTMAX_STRSIZE_BOUND): New constant, also from older paxutils.

gnulib
paxutils
src/common.h

diff --git a/gnulib b/gnulib
index d682f8de7f9d384f4cfc482a3ba2960329a8db21..60e9cc86d91d23465bb79751c772ec87d05bae13 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit d682f8de7f9d384f4cfc482a3ba2960329a8db21
+Subproject commit 60e9cc86d91d23465bb79751c772ec87d05bae13
index 9ae062098da4383a6c9b39e245c1a2888a645352..6fba6e940684a4e6bd8d924d2d49f16de824251c 160000 (submodule)
--- a/paxutils
+++ b/paxutils
@@ -1 +1 @@
-Subproject commit 9ae062098da4383a6c9b39e245c1a2888a645352
+Subproject commit 6fba6e940684a4e6bd8d924d2d49f16de824251c
index 259655f9bff72e8dbb2a2d44c6377f8066661a76..7471820e6b6b5fc62b1582553ee2370bae49cc39 100644 (file)
@@ -54,6 +54,7 @@
 #include <exclude.h>
 #include <full-write.h>
 #include <idx.h>
+#include <inttostr.h>
 #include <modechange.h>
 #include <quote.h>
 #include <safe-read.h>
@@ -673,6 +674,8 @@ represent_uintmax (uintmax_t n)
     }
 }
 
+#define STRINGIFY_BIGINT(i, b) umaxtostr (i, b)
+enum { UINTMAX_STRSIZE_BOUND = INT_BUFSIZE_BOUND (intmax_t) };
 enum { SYSINT_BUFSIZE =
         max (UINTMAX_STRSIZE_BOUND, INT_BUFSIZE_BOUND (intmax_t)) };
 char *sysinttostr (uintmax_t, intmax_t, uintmax_t, char buf[SYSINT_BUFSIZE]);