|
From: | Eric Blake |
Subject: | Re: test-readlink failure on GNU/Linux |
Date: | Fri, 14 Oct 2011 16:29:46 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15 |
On 10/14/2011 04:25 PM, Ludovic Courtès wrote:
Hello, ‘test-readlink’ from GNU M4 1.4.16 fails on GNU/Linux with Linux 3.0.4 and GNU libc 2.13 with an assertion failure at test-readlink.h:41: 40: ASSERT (func ("", buf, sizeof buf) == -1); 41: ASSERT (errno == ENOENT); It turns out that errno is set to EINVAL instead of ENOENT, which is indeed not what POSIX suggests [0]. Thoughts?
Well known report. Gnulib has already been relaxed to work around the Linux violation of POSIX, and the next time m4 is released, it will include the gnulib relaxation. Good luck convincing the kernel folks to fix their violation, or the glibc folks of the need to work around the kernel error.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |