[evolution-patches] c&p fix for addressbook file backend
- From: Chris Toshok <toshok ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] c&p fix for addressbook file backend
- Date: Tue, 13 Apr 2004 12:35:39 -0700
Seems we're trying to unlink bf->priv->filename twice, instead of
removing filename and summary_filename.
Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.121
diff -u -r1.121 ChangeLog
--- ChangeLog 7 Apr 2004 23:37:37 -0000 1.121
+++ ChangeLog 13 Apr 2004 19:26:26 -0000
@@ -1,3 +1,9 @@
+2004-04-13 Chris Toshok <toshok ximian com>
+
+ * backends/file/e-book-backend-file.c
+ (e_book_backend_file_remove): fix c&p error, unlink filename and
+ summary_filename, not filename twice.
+
2004-04-07 Chris Toshok <toshok ximian com>
* libebook/e-vcard.h: reorder the EVC_X #defines a bit, and add in
Index: backends/file/e-book-backend-file.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/backends/file/e-book-backend-file.c,v
retrieving revision 1.14
diff -u -r1.14 e-book-backend-file.c
--- backends/file/e-book-backend-file.c 6 Apr 2004 18:39:35 -0000 1.14
+++ backends/file/e-book-backend-file.c 13 Apr 2004 19:26:27 -0000
@@ -1039,7 +1039,7 @@
/* unref the summary before we remove the file so it's not written out again */
g_object_unref (bf->priv->summary);
bf->priv->summary = NULL;
- if (-1 == unlink (bf->priv->filename))
+ if (-1 == unlink (bf->priv->summary_filename))
g_warning ("failed to remove summary file `%s`: %s", bf->priv->summary_filename, strerror (errno));
dir = g_dir_open (bf->priv->dirname, 0, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]