bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22584: cp could be more precise than "Not a directory"


From: Assaf Gordon
Subject: bug#22584: cp could be more precise than "Not a directory"
Date: Tue, 9 Feb 2016 20:15:35 -0500

> On Feb 9, 2016, at 02:29, Bernhard Voelker <address@hidden> wrote:
[...]
> 
> After stat() has detected that the target does not exist, cp simply
> tries to open() it - and while it has a trailing slash, the kernel
> returns EISDIR:

Thank you, Bernhard, for pointing the additional open/EISDIR - I missed that 
part.
That better explains the code in src/copy.c:1150 . 

-assaf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]