Re: [PATCH 1/2] Work around leftover temporary save file.
- From
Pat Thoyts <patthoyts@users.sourceforge.net>
- Date
- Sep 15, 2009, 15:44 UTC
- Message-ID
- <87pr9sb4bx.fsf@users.sourceforge.net>
- In-Reply-To
- <e2480c70909150714n3b7d6018rcb5bcb42d1d78218@mail.gmail.com>
Alexey Borzenkov <snaury@gmail.com> writes:
> >Then deleting would fail, because on Windows opened files cannot be >deleted (unless they are opened in a special way that permits it). >
The delete occurs before we attempt to open the file which is why it succeeds when such file is present.
-- Pat Thoyts http://www.patthoyts.tk/ PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD