evolution-data-server r7692 - in trunk/addressbook: . backends/file
- From: simonz svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r7692 - in trunk/addressbook: . backends/file
- Date: Mon, 9 Apr 2007 04:08:46 +0100 (BST)
Author: simonz
Date: 2007-04-09 04:08:46 +0100 (Mon, 09 Apr 2007)
New Revision: 7692
ViewCVS link: http://svn.gnome.org/viewcvs/evolution-data-server?rev=7692&view=rev
Modified:
trunk/addressbook/ChangeLog
trunk/addressbook/backends/file/e-book-backend-file.c
Log:
2007-04-09 simon.zheng <simon zheng sun com>
** Fix for 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]