Re: installable gnulib library

2010-10-08 Thread Gary V. Vaughan
On 9 Oct 2010, at 04:56, Bruce Korb wrote: > Hey Gary, Howdy Bruce, > (re-send -- I didn't see the first one show up on bug-gnulib list.) Me neither. > On 09/26/08 20:34, Gary V. Vaughan wrote: >>> Long ago, far away and years ago, that is *precisely* the point I was >>> making. (Remember the a

[PATCH] time: enforce recent POSIX ruling that time_t is integral

2010-10-08 Thread Eric Blake
* lib/time.in.h (__time_t_must_be_integral): Detect any problematic systems, allowing the rest of gnulib to assume POSIX. Signed-off-by: Eric Blake --- > > oppose a patch that adds a compile-time verification in gnulib's > > that time_t is integral on all platforms that we support, > > given th

Re: installable gnulib library

2010-10-08 Thread Bruce Korb
Hey Gary, (re-send -- I didn't see the first one show up on bug-gnulib list.) On 09/26/08 20:34, Gary V. Vaughan wrote: >> Long ago, far away and years ago, that is *precisely* the point I was >> making. (Remember the autotool bake-off contest?) > > I remember it well. Code Sourcery. > The thin

Re: OpenBSD 4.7 vs nanosleep

2010-10-08 Thread Bruno Haible
Hi Jim, > This isn't a show-stopper for the coreutils release. But it's easy to fix. The bug is actually in the gnulib replacement, which is missing a check on the validity of the argument. 2010-10-08 Bruno Haible nanosleep: Make replacement POSIX compliant. * lib/nanosleep.

Re: [diffutils-3.0] 9 of 78 tests failed on Haiku

2010-10-08 Thread Bruno Haible
Hi Scott, > I have opened a handful of tickets in Haiku's trac to cover them: > > http://dev.haiku-os.org/ticket/6704 > http://dev.haiku-os.org/ticket/6705 > http://dev.haiku-os.org/ticket/6706 > http://dev.haiku-os.org/ticket/6707 Nice. For the unsetenv one, you can also attach the test program

Re: OpenBSD 4.7 vs nanosleep

2010-10-08 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, Hi Bruno, >> This isn't a show-stopper for the coreutils release. > > But it's easy to fix. The bug is actually in the gnulib replacement, which > is missing a check on the validity of the argument. > > > 2010-10-08 Bruno Haible > > nanosleep: Make replaceme

Re: installable gnulib library

2010-10-08 Thread Bruce Korb
Hey Gary, On 09/26/08 20:34, Gary V. Vaughan wrote: >> Long ago, far away and years ago, that is *precisely* the point I was >> making. (Remember the autotool bake-off contest?) > > I remember it well. Code Sourcery. > The thing that struck me a few days ago was that gnulib actually provides >

Re: compilation failure on freebsd8.0-p3 (acl-related?)

2010-10-08 Thread Bruno Haible
> 2010-10-06 Bruno Haible > > string, sys_select: Avoid #including large headers unless necessary. > * lib/string.in.h: Don't include except on NetBSD. > * lib/sys_select.in.h: Don't include except on Solaris, > OSF/1, BeOS, Haiku. > Reported by Jim Meyering. Oo

Re: [coreutils] [PATCH 2/2] stat: print timestamps to full resolution

2010-10-08 Thread Jim Meyering
Eric Blake wrote: > On 10/01/2010 04:34 PM, Eric Blake wrote: >> On 10/01/2010 09:19 AM, Eric Blake wrote: Correct - time_t need not be integral, but do we have any proof of a system using a floating-point time_t? >>> >>> I think I'm going to write a POSIX bug requesting that time_t be >>

Re: [PATCH] bootstrap: reformat for readability

2010-10-08 Thread Jim Meyering
Paul Eggert wrote: > I thought I'd try out reformatting lines to make them more readable on > other projects first, before doing further changes to gnulib along > these lines, as there seems to be some controversy about it and it's > better to get some experience with it. However, some files are >

OpenBSD 4.7 vs nanosleep

2010-10-08 Thread Jim Meyering
FYI, In this part of test-nanosleep.c, on OpenBSD 4.7, nanosleep ends up sleeping the 10 seconds before returning 0. Wrong on both counts. It shouldn't sleep at all, and it should have returned -1. int main (void) { struct timespec ts; ts.tv_sec = 10; ts.tv_nsec = -1; errn

[PATCH] bootstrap: add hook for altering gnulib.mk, for Bison

2010-10-08 Thread Paul Eggert
* build-aux/bootstrap (gnulib_mk_hook): New function, so that the Bison bootstrapping process can rewrite file names and variables in this file before later parts of 'bootstrap' use the file. Bison wants to include lib/gnulib.mk from the top-level makefile, so it needs the file names in this file t

[PATCH] bootstrap: reformat for readability

2010-10-08 Thread Paul Eggert
I thought I'd try out reformatting lines to make them more readable on other projects first, before doing further changes to gnulib along these lines, as there seems to be some controversy about it and it's better to get some experience with it. However, some files are shared, and the gnulib versi

[PATCH] docs: update cygwin progress

2010-10-08 Thread Eric Blake
* doc/posix-functions/cacos.texi (cacos): Added after cygwin 1.7.7. * doc/posix-functions/cacosf.texi (cacosf): Likewise. * doc/posix-functions/cacosh.texi (cacosh): Likewise. * doc/posix-functions/cacoshf.texi (cacoshf): Likewise. * doc/posix-functions/carg.texi (carg): Likewise. * doc/posix-funct

Re: [coreutils] [PATCH 2/2] stat: print timestamps to full resolution

2010-10-08 Thread Eric Blake
On 10/01/2010 04:34 PM, Eric Blake wrote: On 10/01/2010 09:19 AM, Eric Blake wrote: Correct - time_t need not be integral, but do we have any proof of a system using a floating-point time_t? I think I'm going to write a POSIX bug requesting that time_t be tightened to integral in light of the