[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: readlink* ("", ... fails with EINVAL on newer kernels
From: |
Eric Blake |
Subject: |
Re: [PATCH] tests: readlink* ("", ... fails with EINVAL on newer kernels |
Date: |
Wed, 30 Mar 2011 06:28:09 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9 |
On 03/30/2011 12:49 AM, Jim Meyering wrote:
> coreutils' "make check" failed on rawhide due to a kernel change
> in how readlink and readlinkat treat the empty file name.
> Before, they'd fail with ENOENT. Now, it's EINVAL.
That's unfortunate, because it violates POSIX. Is it worth filing a bug
against glibc to avoid exposing the kernel's choice to the user?
But I agree with the patch.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature