[Pidgin] #1102: Pidgin breaks blist.xml

Pidgin trac at pidgin.im
Fri May 18 11:31:12 EDT 2007


#1102: Pidgin breaks blist.xml
---------------------------+------------------------------------------------
  Reporter:  czarny        |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.0  
Resolution:                |    Keywords:  blist
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by elb):

 Pidgin should never put garbage into blist.xml; it sounds like maybe what
 is happening is that your operating system has not synced the contents of
 blist.xml by the time you push the hard reset button, and so the file is
 corrupt.

 When Pidgin saves its buddy list, it saves the blist to an entirely new
 file (blist.xml.save), and then only moves that file to blist.xml if the
 entire write was successful and the file was closed successfully.  There
 should be no way for Pidgin to produce a corrupt blist.xml due to any sort
 of race, unless the operating system is misbehaving.

 (Quite possibly, if you are using Windows, it makes no coherent guarantees
 about such operations.)

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1102#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list