[Pidgin] #1102: Pidgin breaks blist.xml

Pidgin trac at pidgin.im
Sat May 19 08:01:39 EDT 2007


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

 I really don't see how that is possible.  Look at
 purple_util_write_data_to_file in util.c.  We write the entire contents of
 blist.xml to blist.xml.save, close the file, check to see that the entire
 file wrote, then *stat* the file to make sure it's the appropriate size,
 and only if all of that succeeds do we rename() it to blist.xml.

 I challenge your assertion that you have actually seen this behavior on
 multiple filesystems, unless you have some more fundamental error.

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


More information about the Tracker mailing list