Re: compiler flags for HP-UX cc

2008-12-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/20/2008 5:21 AM: > Here is a proposed patch: > > 2008-12-20 Bruno Haible > > * doc/install.texi (Particular Systems): For HP-UX, also recommend > -D_XOPEN_SOURCE=500. Needed for the declaration of mbstat

Re: [PATCH] inttostr.c: suppress a warning

2008-12-23 Thread Bruno Haible
Hi Jim, > * lib/inttostr.c: Use #pragma GCC diagnostic ignored "-Wtype-limits" Personally I find the -Wtype-limits warnings pointless[1], because the very purpose of writing char c = ...; if (c >= 0 && c <= 0x7f) is to avoid #ifdef in functions: char c = ...; if (true

Re: statvfs on glibc platforms

2008-12-23 Thread Bruno Haible
Jim Meyering wrote: > > It's only the Linux specific implementation which looks > > at /proc/mounts. OK to commit this update? > > Sure. Thanks! Committed.

[PATCH] inttostr.c: suppress a warning

2008-12-23 Thread Jim Meyering
Hi Paul, Any objection to this change? >From b6459ede3601010abe11e5e2b766e010e1efce5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 30 Nov 2008 17:36:15 +0100 Subject: [PATCH] inttostr.c: suppress a warning * lib/inttostr.c: Use #pragma GCC diagnostic ignored "-Wtype-limits" to ignore

Re: statvfs on glibc platforms

2008-12-23 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, > > The Haiku port prompted me to look at this comment. Looking at the sources of > statvfs() for the various glibc platforms, I found that it's not BeOS which > is special, but Linux: It's only the Linux specific implementation which looks > at /proc/mounts. OK to c

Re: automatically preventing merge commits on master

2008-12-23 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, > > On 2008-10-13 you wrote: >> Does anyone object to my installing a server-side hook >> that would prevent pushing merge commits on master? >> In our experience here (with gnulib.git), pushing a merge >> commit is always unintentional. > > The one that I pushed toda

Re: getaddrinfo needs a special library

2008-12-23 Thread Bruno Haible
Simon Josefsson wrote: > > OK to commit this? > > Yes please! Committed. Bruno

Re: getaddrinfo needs a special library

2008-12-23 Thread Simon Josefsson
On Tue, 2008-12-23 at 01:49 +0100, Bruno Haible wrote: > Hi Simon, > > I propose this change to the getaddrinfo module with two effects: > > - Allow package maintainers to decide which programs to link with -lsocket > (on Solaris) or -lws2_32 (on native Windows). Not all programs in a >