Eric Blake wrote:
> 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.
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
a369223ab69 Mon Sep 17 00:00:00 2001
From: Jim Meyering
Date: Wed, 30 Mar 2011 08:46:22 +0200
Subject: [PATCH] tests: readlink* ("",... fails with EINVAL on newer kernels
readlink and readlinkat have typically failed with ENOENT for
the invalid, empty file name, "". However,