> On Feb 9, 2016, at 02:29, Bernhard Voelker <[email protected]> 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