Re: crash during file writing, how to recover ?

From: Chris Sonnack (Chris_at_Sonnack.com)
Date: 05/03/04


Date: Mon, 03 May 2004 12:03:44 -0500

Calum wrote:

> Just to be inconsistent, the Microsoft "rename" function
> specifically requires "The new name must not be the name
> of an existing file or directory". It makes some sense - I
> wouldn't expect a function called "rename" to delete a file,
> but I can see situations where either behaviour would be desired.

I can't. You should *NOT* be able to rename/mv a file ONTOP of
an existing file (IMO, obviously).

I've always considered the unice ability to do so one of those
razor-sharp pointy bits you need to be very, very careful about.

-- 
|_ CJSonnack <Chris@Sonnack.com> _____________| How's my programming? |
|_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL  |
|_____________________________________________|_______________________|


Relevant Pages