2016-11-07 16:57:34 +0000, Stephane Chazelas:
[...]
> OK, sorry, I had assumed rename() would fail if the target exits
> already.
[...]

BTW, in the spec of link(2):

     [EEXIST]
                  The path2 argument resolves to an existing
                  directory entry or refers to a symbolic link.

Why the "or refers to a symbolic link"? That would still be a
directory entry.

-- 
Stephane

Reply via email to