X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcreate.c;h=78847555d83f80415b9e816917d431222ebb6208;hb=b4e605a82978e85056ba046b5d71c34d43887a4e;hp=01324d353bf62d082ab8599f6e5c36b0f6121f9a;hpb=b58452bdbd7433cbbc5e5c0887ce846a2fa92f05;p=chaz%2Ftar diff --git a/src/create.c b/src/create.c index 01324d3..7884755 100644 --- a/src/create.c +++ b/src/create.c @@ -186,6 +186,8 @@ to_chars (int negative, uintmax_t value, size_t valsize, { int negsub; uintmax_t sub = substitute (&negsub) & maxval; + /* FIXME: This is the only place where GNU_FORMAT differs from + OLDGNU_FORMAT. Apart from this they are completely identical. */ uintmax_t s = (negsub &= archive_format == GNU_FORMAT) ? - sub : sub; char subbuf[UINTMAX_STRSIZE_BOUND + 1]; char *sub_string = STRINGIFY_BIGINT (s, subbuf + 1);