On Sat, 29 Mar 2008 01:07:52 +0100, Ketil Froyn <email@example.com> wrote:
man 2 rename:
If oldpath and newpath are existing hard links referring to the same
file, then rename() does nothing, and returns a success status.
That's why mv checks the special case.
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2008.1 (Cooker) for i586
Linux 2.6.23-jam05 (gcc 4.2.2 20071128 (4.2.2-2mdv2008.1)) SMP PREEMPT