[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Bug moving file over link?
- From: "Stephen C. Tweedie" <sct redhat com>
- To: Ben Escoto <bescoto stanford edu>
- Cc: ext3 users list <ext3-users redhat com>
- Subject: Re: Bug moving file over link?
- Date: 10 Feb 2003 12:52:46 +0000
Hi,
On Sat, 2003-02-08 at 20:34, Ben Escoto wrote:
> I try to move a file over a hard linked copy of itself and the move
> fails, but there is no error. Is this the intended behavior?
Yes. It's horrible, but the SingleUnix Specification requires it. From
the spec for rename(), at
http://www.opengroup.org/onlinepubs/007904975/functions/rename.html ---
If the old argument and the new argument resolve to the same
existing file, rename() shall return successfully and perform no
other action.
Cheers,
Stephen
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]