Re: PATH_MAX and test-stat.h

2011-06-19 Thread Ralf Wildenhues
* James Youngman wrote on Sun, Jun 19, 2011 at 11:17:22PM CEST: > On Sun, Jun 19, 2011 at 7:49 AM, Ralf Wildenhues wrote: > > * James Youngman wrote on Sun, Jun 19, 2011 at 12:57:01AM CEST: > >> On Sat, Jun 18, 2011 at 11:24 PM, Karl Berry wrote: > >> >    I suspect that the most useful thing we c

Re: PATH_MAX and test-stat.h

2011-06-19 Thread James Youngman
On Sun, Jun 19, 2011 at 7:49 AM, Ralf Wildenhues wrote: > Hello, > > * James Youngman wrote on Sun, Jun 19, 2011 at 12:57:01AM CEST: >> On Sat, Jun 18, 2011 at 11:24 PM, Karl Berry wrote: >> >    I suspect that the most useful thing we can do in gnulib is define >> >    PATH_MAX to a non-constant

test-linkat failure on IRIX

2011-06-19 Thread Bruno Haible
> IRIX 6.5: > > test-linkat.c:234: assertion failed > ksh[10]: 1760562 Abort(coredump) > FAIL: test-linkat It fails here: /* AT_SYMLINK_FOLLOW only follows first argument, not second. */ errno = 0; ASSERT (linkat (dfd, BASE "link1", dfd, BASE "link4", 0) == -1); <=== ASSERT (errno

Re: POSIX modules status

2011-06-19 Thread Jim Meyering
Bruno Haible wrote: >>       2 x FAIL: test-linkat > > On AIX 7.1, the linkat() function apparently fails with EINVAL when on > Linux it returns other errno values. Here's the minimal change to make > the test pass. OK to apply? > > > 2011-06-19 Bruno Haible > > linkat test: Avoid test fai

Re: POSIX modules status

2011-06-19 Thread Bruno Haible
>       2 x FAIL: test-linkat On AIX 7.1, the linkat() function apparently fails with EINVAL when on Linux it returns other errno values. Here's the minimal change to make the test pass. OK to apply? 2011-06-19 Bruno Haible linkat test: Avoid test failure on AIX 7.1. * tests/

test-*printf-posix failures

2011-06-19 Thread Bruno Haible
>       2 x FAIL: test-vsprintf-posix >       2 x FAIL: test-vsnprintf-posix >       2 x FAIL: test-sprintf-posix >       2 x FAIL: test-snprintf-posix These failures on AIX occur when a precision > 998 is used on a floating-point number. Worked around through this fix: 2011-06-19 Bruno Haible

Re: test-pread.sh failure

2011-06-19 Thread Jim Meyering
Bruno Haible wrote: >> test-pread.c:71: assertion failed >> FAIL: test-pread.sh > > Here the errno value for a negative offset is EFBIG, not EINVAL. > > Jim, OK to relax the test, like this? Hi Bruno, Yes, that looks fine. Thank you. > -ASSERT (errno == EINVAL); > +ASSERT (errno == EINVA

test-roundl-ieee failures

2011-06-19 Thread Bruno Haible
>       2 x FAIL: test-roundl-ieee On AIX 7.1: test-roundl-ieee.c:45: assertion failed /bin/sh: 9109556 IOT/Abort trap(coredump) FAIL: test-roundl-ieee This fixes it: 2011-06-19 Bruno Haible roundl-ieee: Fix test failure on AIX 7.1. * m4/roundl.m4 (gl_FUNC_ROUNDL): Test als

test-round-ieee failures

2011-06-19 Thread Bruno Haible
>       2 x FAIL: test-round-ieee I'm seeing these failures: AIX 7.1 test-round-ieee.c:40: assertion failed /bin/sh: 11403446 IOT/Abort trap(coredump) FAIL: test-round-ieee OSF/1 5.1 test-round-ieee.c:35: assertion failed sh: 120539 Abort - core dumped FAIL: test-round-ieee Adding floor-ieee

test-roundf-ieee failures

2011-06-19 Thread Bruno Haible
>       2 x FAIL: test-roundf-ieee I'm seeing these failures: AIX 7.1 test-roundf-ieee.c:40: assertion failed /bin/sh: 11206706 IOT/Abort trap(coredump) FAIL: test-roundf-ieee OSF/1 5.1 test-roundf-ieee.c:35: assertion failed sh: 114831 Abort - core dumped FAIL: test-roundf-ieee Adding floor

test-ceilf-ieee failures

2011-06-19 Thread Bruno Haible
> 3 x FAIL: test-ceilf-ieee The failures on AIX 6.1, AIX 7.1 are worked around by this patch: 2011-06-19 Bruno Haible ceilf-ieee: Work around bug on AIX 7.1. * m4/ceilf.m4 (gl_FUNC_CEILF): Test also the sign of ceilf (-0.3f). * doc/posix-functions/ceilf.texi: Me

test-ceil-ieee failures

2011-06-19 Thread Bruno Haible
> 2 x FAIL: test-ceil-ieee This test fails on AIX 6.1 and 7.1: test-ceil-ieee.c:39: assertion failed /bin/sh: 1081512 IOT/Abort trap(coredump) FAIL: test-ceil-ieee I'm committing this workaround, whose effect is to replace the 'ceil' function. 2011-06-19 Bruno Haible ceil-iee

test-pread.sh failure

2011-06-19 Thread Bruno Haible
Hi Jim, > 1 x FAIL: test-pread.sh > OpenBSD 4.9: > > test-pread.c:71: assertion failed > FAIL: test-pread.sh Here the errno value for a negative offset is EFBIG, not EINVAL. Jim, OK to relax the test, like this? 2011-06-19 Bruno Haible pread test: Avoid test failure on Open

test_strerror_r failures

2011-06-19 Thread Bruno Haible
> 2 x FAIL: test-strerror_r On OpenBSD 4.9: test-strerror_r.c:69: assertion failed buf = "Undefined error: 0" config.status contains: S["REPLACE_STRERROR_R"]="1" S["HAVE_DECL_STRERROR_R"]="1" S["GNULIB_STRERROR_R"]="1" On Cygwin 1.7.9 (but not 1.7.5): test-strerror_r.c:78: assertion fa