Bug 3397

Summary: safeguard saving config files?
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: WindowMakerAssignee: vkni <vkni>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P4 CC: mike, vkni
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2003-12-22 12:50:36 MSK
would be nice if WM did config-saves like this:

- open tmp config file
- write new data there
- close (/sync?)
- move orig config file to backup one
- move new config file where it belongs

so that situations when e.g. no free space left on /home wouldn't be fatal for
WMState (mostly).
Comment 1 Sir Raorn 2009-03-29 16:13:57 MSD
Вщщета WMState так и гвардится.  Проблемы могут быть только с сохранением сессии (XSMP) и истории диалогов.  Запатчил в -alt5.
Comment 2 Michael Shigorin 2009-04-01 23:01:42 MSD
Спасибо!  Нарывался как-то на пустые (и один раз когда-то давно -- на обрывок).

PS: ещё лишние wakeup'ы с wm* посрезать и жизнь в этом году вновь наладится :-)