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   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to