maint.mk sync

2009-04-17 Thread Simon Josefsson
I'm beginning to think that incremental syncing of maint.mk will never finish, the sync targets are moving too quickly. I propose to just import the coreutils maint.mk into gnulib, and then move forward from there on. The patch below takes coreutils' maint.mk, and keeps the current

Re: [PATCH] maintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.

2009-04-17 Thread Jim Meyering
Simon Josefsson wrote: This is useful in gnutls, which uses a different gettext domain than the top-level package name. Pushed. Hi Simon, That looks fine. However, note that it downloads all .po files every time. Have you considered adjusting that rule to work like the code in bootstrap,

Re: [PATCH] maintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.

2009-04-17 Thread Simon Josefsson
Jim Meyering j...@meyering.net writes: Simon Josefsson wrote: This is useful in gnutls, which uses a different gettext domain than the top-level package name. Pushed. Hi Simon, That looks fine. However, note that it downloads all .po files every time. Have you considered adjusting

Re: faster fnmatch

2009-04-17 Thread Bruno Haible
Hello Ondrej, Hello. I am writing partial fnmatch to speed up locate et al. Cool! We know for some time already that this is a bottleneck [1]. I find it also interesting that you go for a two-step approach, preprocess the pattern once and use it for matching often - the same approach that we

Re: fpurge on z/OS

2009-04-17 Thread Bruno Haible
Juergen Weber wrote in http://lists.gnu.org/archive/html/bug-gnulib/2009-04/msg00165.html: I am a bit appalled of having to implement all those low-level non-portable functions to get bash running. I can understand this feeling... Or what about writing an generic implementation of the cited

Re: maint.mk sync

2009-04-17 Thread Simon Josefsson
Jim Meyering j...@meyering.net writes: Simon Josefsson wrote: ... But the checks aren't turned on by default, are they? The maintainer needs to invoke the specific rules manually. Yes, they are run as part of make syntax-check, by default. Ah, right. I'd like something like that: I

realloc documentation

2009-04-17 Thread Pádraig Brady
I was looking at what was provided by the realloc module in gnulib and was a bit confused. There was no texi info on it and the description in modules/realloc just says realloc() function that is glibc compatible. For me, that wasn't enough info to infer how I should use realloc(). The module

Re: [PATCH] maintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.

2009-04-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Simon Josefsson on 4/17/2009 1:22 AM: However, note that it downloads all .po files every time. Have you considered adjusting that rule to work like the code in bootstrap, that uses rsync and a cache? That avoids not only the

Re: fpurge on z/OS

2009-04-17 Thread Chet Ramey
Bruno Haible wrote: Actually, the only places where bash-4.0 calls fpurge is directly after fflush on the same stream, and only on output streams: fflush (stdout); fpurge (stdout); Does someone understand the purpose of this code? IMO fpurge is a nop, right after fflush (assuming