Which is not aMule's fault, I'm sure you see.
The exact words used by several professional programmers when I described how amule.conf was being rewritten were:
"####ing kids in bedrooms!"
Which might give you an idea of how they regard the practice.
That's cool. As you have proxied their opinion to me, rely my opinion to them: "
Go fuck yourself, you ignorant piece of shit that talks about things he doesn't know shit about".
You can apply it to you too if that's your opinion. I already told you that it's more complicated than it seems. For example,
we're not fucking rewriting the file, we're using wxWidget's wxFileConfig facility to access, read and modify the configuration file. If it is your opinion that the file should be flush()ed in any special way, take it with them. See, now it's showing that you're blaming us and flaming us without having any fucking clue what's going on, and looking like a complete cunt.
Now, if you think that for every write access to the config file we're going to a) create a new wxFileConfig object with a new path b) Copy all configuration data to the new file c) Modify the contents of the new file d) Overwrite the old file with the new file, you're as they say, S.O.L.
Hint: Filesystem integrity is at kernel/driver abstraction level, not application level. Applications shouldn't have to deal with that shit, because they're on a different abstraction level. Seriously, if you're having the problem that your filesystem is left in a fucked up state because of a power failure
on a regular basis, put your own driver/script measures to protect sensitive content in place.
As for throwing the drive down the stairs - no need when the neighbourhood power supply keeps dropping out unexpectedly thanks to copper thieves attacking distribution stations.
So don't worry, we will modify our code, make it overcomplicated and redundant and full of unnecessary overhead and everything so the copper thieves can continue acting without you losing your aMule configuration!
CALL THE FUCKING POLICE, MAN. YOU HAVE ISSUES WITH TRYING TO SOLVE SYMPTOMS, NOT PROBLEMS