[PATCH] AtomicFile on win32 throws if target file doesn't exist

John A Meinel john at arbash-meinel.com
Thu May 26 05:29:19 BST 2005


Martin Pool wrote:

>On 25 May 2005, John A Meinel <john at arbash-meinel.com> wrote:
>
>
>>John A Meinel wrote:
>>
>>
>>
>>>Right now AtomicFile leaves a bogus file if it is not committed or
>>>aborted. The attached patch has it close on deconstruct (which means
>>>abort if file is not already closed).
>>>
>>>John
>>>=:->
>>>
>>>
>>Attached is another patch. On win32 AtomicFile removes the file before
>>rename, but sometimes the file doesn't exist, throwing an OSError, this
>>traps for it.
>>
>>
>
>Thanks, taken.
>
>(By the way, all your gpg signatures seem to be bad.  Is it something
>at your end or something in the mailing list?   )
>
>
>
My gpg signatures seem to fail if I have an attachment. A normal email
works fine. I think it is a problem with Thunderbird + Enigmail.

If that isn't the case, let me know. (ie this email should be signed
correctly.)

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050525/31b77053/attachment.pgp 


More information about the bazaar mailing list