[PATCH] gettext: do not assume '#define ... defined ...' behavior

2012-07-11 Thread Paul Eggert
Here's a proposed patch to fix a gnulib portability bug uncovered with gzip 1.5. --- ChangeLog |9 + lib/gettext.h |9 ++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b27ef8d..7dacfb7 100644 --- a/ChangeLog +++ b/ChangeLog

Re: add --match argument to git-version-gen

2012-07-11 Thread Jim Meyering
Andy Wingo wrote: > On Sat 07 Jul 2012 22:42, Jim Meyering writes: > >>> - --prefix prefix of git tags (default 'v') >>> + --prefix prefix of git tags to strip from version (default 'v') >>> + --match pattern for git tags to match >> >> Please mention that it's a "glob" pa

[PATCH] maint: enable the sc_avoid_if_before_free syntax-check

2012-07-11 Thread Jim Meyering
I'm finally enabling this syntax-check rule for gnulib itself. Many of the files exempted below are because (from what I recall) Bruno prefers not to eliminate these tests. Bruno, is it ok to remove the one in lib/clean-temp.c, below? >From 6337d9c614bd4eedbb7ba4e490925512b6709676 Mon Sep 17 00:0

Re: bug#11905: Unnecessary '#define unix' in src/s/aix4-2.h

2012-07-11 Thread Jim Meyering
Paul Eggert wrote: > On 07/10/2012 04:25 PM, Glenn Morris wrote: >> I suspect that Gnulib already has the AIX >> case covered (via "__unix"?), so that src/s/aix4-2.h no longer needs to >> define "unix". > > Yes, that sounds right. I have started to fix this by > installing the following patch into