Re: Add set_* functions to stat-time?

2024-03-17 Thread Collin Funk
Hi Bruno, On 3/17/24 2:03 PM, Bruno Haible wrote: > The European GDPR asks for minimizing the collection of data that is > necessary for the job. mtime is necessary for transporting a package > to a different machine. Even atime is not. But ctime and creationtime > are not either,

Re: Add set_* functions to stat-time?

2024-03-26 Thread Collin Funk
On 3/17/24 7:45 PM, Tim Kientzle wrote: > GNU tar could choose to ignore that particular attribute without issuing a > warning. I'm happy with that behavior if there are objections. This diff seems to work with that archive. I'm not familiar with GNU tar or even the ustar for that matter though,

maint: prefer ckd_add to INT_ADD_WRAPV

2024-07-21 Thread Collin Funk
Since pretty much everywhere else uses C23 ckd_* instead of intprops *_WRAV macros now, here is a patch for tar. Collin >From 7430a86f8eb055695724e735c8485f2867ca4172 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 21 Jul 2024 12:19:03 -0700 Subject: [PATCH] maint: prefer ckd_add

Re: maint: prefer ckd_add to INT_ADD_WRAPV

2024-08-04 Thread Collin Funk
Hi Paul, Paul Eggert writes: > Thanks, this prompted me to scan tar for integer overflow and related > bugs. Now's a good time to install what I found so far, so I did that. > One of the patches is the following; it is related to your suggestion, > but is a bit more general because it also repla

maint: Update library names used by Gnulib.

2024-08-13 Thread Collin Funk
Hi, Some library names in Gnulib changed on or around 2023-01-07 (see NEWS). This patch fixes variables in tar's Makefile's. Collin >From 85b8d19bb9346948a528a5bc4e194cdd8c235eb8 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 13 Aug 2024 18:28:36 -0700 Subject: [PATCH]

Re: maint: Update library names used by Gnulib.

2024-09-11 Thread Collin Funk
Hi Paul, Collin Funk writes: > Some library names in Gnulib changed on or around 2023-01-07 (see NEWS). > This patch fixes variables in tar's Makefile's. I think this patch might have gotten lost like my bug-gzip one. I've attached a fixed version that doesn't in

Re: [PATCH] set locale to avoid xgettext error

2024-10-24 Thread Collin Funk
Hi, "Sergey Poznyakoff" writes: > Matteo Croce ha escrit: > >> I see that in this commit, you removed a non-ASCII character from a comment. >> That was triggering the same build failure I'm experiencing with the >> word "comprobación". >> What is the rule here, remove the non ANSII characters,

[PATCH 2/2] Fix off-by-one error.

2024-11-04 Thread Collin Funk
Sep 17 00:00:00 2001 From: Collin Funk Date: Wed, 11 Sep 2024 18:52:47 -0700 Subject: [PATCH 1/2] maint: Update library names used by Gnulib. * src/Makefile.am (tar_LDADD): * tests/Makefile.am (LDADD): Update library names according to Gnulib. --- src/Makefile.am | 6 +++--- tests/Makefile.am

Re: [PATCH 2/2] Fix off-by-one error.

2024-11-10 Thread Collin Funk
Hi, Collin Funk writes: > I submitted these two patches a few months ago, but it seems they got > lost. It would also be nice to revisit a small patch I wrote a few months ago to ignore "LIBARCHIVE.creationtime" headers without annoying error spam [1]: diff --git a/src

[PATCH] Fix off-by-one error.

2024-09-21 Thread Collin Funk
/collin/.local/src/tar/src/misc.c:521 in code_ns_fraction [] It seems that the definition of 'TIMESPEC_STRSIZE_BOUND' doesn't account for the NUL byte. I've attached a fix. Collin >From d4d02be605a1e183dfeabb0515455b4718ca2efe Mon Sep 17 00:00:00 2001 From: Collin Funk