[Pidgin] #4046: Config files handling

Pidgin trac at pidgin.im
Sun Nov 25 05:20:48 EST 2007


#4046: Config files handling
------------------------+---------------------------------------------------
Reporter:  liljawa      |       Owner:  lschiere    
    Type:  enhancement  |      Status:  new         
Priority:  minor        |   Component:  unclassified
 Version:  2.2.2        |    Keywords:              
 Pending:  0            |  
------------------------+---------------------------------------------------
 If pidgin is closed, when the config files are written (during windows
 crash for ex) they are broken

 It would be easy to solve this:
 make an backup of the old config file -> xml.bck
 write the new config file -> xml.tmp
 copy the new conig file over the new one  -> .xml
 look if it's the same, like the tmp one (xml.tmp=.xmp?)
 look if it's usable
 rename the backup into xml.oldbck

 if pidgin loads it should check if a xmp.bck it there, if so it should ask
 to load it

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4046>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list