bug#7450: cp does not check for errno=EISDIR when target is dangling lin
From:
Paul Eggert
Subject:
bug#7450: cp does not check for errno=EISDIR when target is dangling link
Date:
Mon, 22 Nov 2010 11:22:16 -0800
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
On 11/22/10 08:33, Eric Blake wrote:
> The strongest arguments for changing the kernel would be bringing it
> into compliance with POSIX.
You're right that the Linux kernel doesn't conform to POSIX here
(and thank you for correcting me). However, in the past, I found that
"this errno value does not conform to POSIX" doesn't carry much
weight with the kernel developers. I expect that a much stronger
argument is "this errno value causes confusion", which it certainly
did here. Failure to conform to POSIX is icing on the cake.