Problems from old config files

Kevin Kofler kevin.kofler at chello.at
Fri Nov 13 18:24:36 UTC 2009


Patrick O'Callaghan wrote:
> Maybe it doesn't need to get that complicated. I see this part of the
> problem as a race condition between the update process and the running
> component. If the running component wants to write to the config file it
> should simply notice that it has changed since the component last read
> it and either abort the write or ask the user what to do (I'd be more in
> favour of aborting and telling the user why).

That's no good, applications prompting for config file stuff when the user 
just wants them to go away (i.e. when they're being closed, which is when 
the issue usually comes up) is bad, and it also won't work if you're 
shutting down the entire system.

        Kevin Kofler




More information about the kde mailing list