From: Paul Eggert Date: Sat, 10 Sep 2022 21:44:36 +0000 (-0500) Subject: build: update submodules to latest X-Git-Tag: v1.35~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705bb093174004275009510bdaab6e8046ab37f8;p=thirdparty%2Ftar.git build: update submodules to latest * src/common.h: Include since paxutils no longer does. (STRINGIFY_BIGINT): New macro, copied from older paxutils. (UINTMAX_STRSIZE_BOUND): New constant, also from older paxutils. --- diff --git a/gnulib b/gnulib index d682f8de..60e9cc86 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit d682f8de7f9d384f4cfc482a3ba2960329a8db21 +Subproject commit 60e9cc86d91d23465bb79751c772ec87d05bae13 diff --git a/paxutils b/paxutils index 9ae06209..6fba6e94 160000 --- a/paxutils +++ b/paxutils @@ -1 +1 @@ -Subproject commit 9ae062098da4383a6c9b39e245c1a2888a645352 +Subproject commit 6fba6e940684a4e6bd8d924d2d49f16de824251c diff --git a/src/common.h b/src/common.h index 259655f9..7471820e 100644 --- a/src/common.h +++ b/src/common.h @@ -54,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -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]);