On 2026-04-17 15:23, Jim Meyering wrote:

So I reverted that and added a little .gitignore cleanup:
https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=v1.14-51-g8900a8c

Thanks. Some of that cleanup, though, was likely due to the fact that you ran Git in a directory that had junk leftover from a build with an old Gnulib or an old bootstrap.conf. With the latest Gnulib and bootstrap.conf gzip shouldn't need lib/glthread/*, lib/math.h, lib/uchar.h, etc. I installed the attached to try to limit lib/.gitignore to the minimum.

Perhaps I'm missing something here; if so, please feel free to revert.
From 05ea76d283ee85d5698848f03f1a4177ce07d414 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Fri, 17 Apr 2026 15:41:19 -0700
Subject: [PATCH] maint: prune lib/.gitignore some more

* lib/.gitignore: Remove recent additions that likely crept
in only because an old source directory was being used.
This reverts back to what this file was a couple of days ago,
except /glthread is also removed since recent Gnulib changes
made it unnecessary.
---
 lib/.gitignore | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/lib/.gitignore b/lib/.gitignore
index b030a15..fc08891 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -101,7 +101,6 @@
 /gettext.h
 /gettime.c
 /gettimeofday.c
-/glthread
 /gnulib.mk
 /ialloc.c
 /ialloc.h
@@ -118,13 +117,11 @@
 /libgzip.a
 /limits.h
 /limits.in.h
-/locale.h
 /lseek.c
 /lstat.c
 /malloc.c
 /malloca.c
 /malloca.h
-/math.h
 /memchr.c
 /memchr.valgrind
 /memeq.c
@@ -147,7 +144,6 @@
 /pathmax.h
 /pipe-safer.c
 /pipe.c
-/pthread.h
 /pthread_sigmask.c
 /qsort.c
 /qsort_r.c
@@ -162,7 +158,6 @@
 /save-cwd.h
 /savedir.c
 /savedir.h
-/sched.h
 /sig-handler.c
 /sig-handler.h
 /sigaction.c
@@ -214,20 +209,11 @@
 /time.in.h
 /timespec.c
 /timespec.h
-/uchar.h
-/unicase.h
-/unicase/
-/unictype.h
-/unictype/
-/uninorm.h
 /unistd--.h
 /unistd-safer.h
 /unistd.c
 /unistd.h
 /unistd.in.h
-/unitypes.h
-/uniwidth.h
-/uniwidth/
 /unlink.c
 /unlinkat.c
 /unlocked-io.h
@@ -240,7 +226,6 @@
 /warn-on-use.h
 /wchar.h
 /wchar.in.h
-/wctype.h
 /xalloc-die.c
 /xalloc-oversized.h
 /xalloc.h
-- 
2.53.0

Reply via email to