[Users] Problem with clawsrc occasionally reverting to default

Paul Rolland (=?UTF-8?B?44Od44O844Or44O744Ot44Op44Oz?=) rol at witbe.net
Thu Mar 26 14:18:11 CET 2015


Hello,

On Thu, 26 Mar 2015 14:01:56 +0100
Michael Schwendt <bugreporter at abwesend.de> wrote:

> On Thu, 26 Mar 2015 13:12:21 +0100, Joebug wrote:
> 
> > So what is the situation that leaves you with *no* clawsrc and a
> > clawsrc.tmp in the ~/.claws-mail folder ?
> 
> Since I won't be able to skim over the source code until possibly end
> of next week, here are just my thoughts:
> 
> Preferably, it would create a _new_ clawsrc.tmp file and write
> everything to that file, and when done, it would create a backup of
> the existing clawrc and then rename(3) clawsrc.tmp to clawsrc.
> If Claws Mail gets interrupted/killed prior to the final renaming
> step, the old clawsrc file would still be present.

I've just been looking very briefly at the code, and it looks like this is
what's done...

Rol
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20150326/ba3deb99/attachment.sig>


More information about the Users mailing list