[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
- bug#22584: cp could be more precise than "Not a directory", 積丹尼 Dan Jacobson, 2016/02/07
- bug#22584: cp could be more precise than "Not a directory", Leslie S Satenstein, 2016/02/07
- bug#22584: cp could be more precise than "Not a directory", 積丹尼 Dan Jacobson, 2016/02/08
- bug#22584: cp could be more precise than "Not a directory", Assaf Gordon, 2016/02/08
- bug#22584: cp could be more precise than "Not a directory", 積丹尼 Dan Jacobson, 2016/02/08
- bug#22584: cp could be more precise than "Not a directory", 積丹尼 Dan Jacobson, 2016/02/09