evolution-data-server r7690 - in branches/gnome-2-18/addressbook: . backends/file



Author: simonz
Date: 2007-04-09 03:58:32 +0100 (Mon, 09 Apr 2007)
New Revision: 7690
ViewCVS link: http://svn.gnome.org/viewcvs/evolution-data-server?rev=7690&view=rev

Modified:
   branches/gnome-2-18/addressbook/ChangeLog
   branches/gnome-2-18/addressbook/backends/file/e-book-backend-file.c
Log:
2007-04-09  simon.zheng  <simon zheng sun com>

        ** Fix fro bug #425512

        * backends/file/e-book-backend-file.c:
        (e_book_backend_file_load_source):
        According to docs of Berkeley DB of manpage regarding db->open, 
        "The DB->open method returns a non-zero error value on failure 
        and 0 on success. If DB->open fails, the DB->close method must 
        be called to discard the DB handle"
        So add calling db->close() after every failure of db->open().






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]