aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-util.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 28b93f2b1c..2e4c6130d4 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-27 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #352941
+
+ * e-util.c: (e_write_file_uri): Allow files to be overwritten.
+
2006-08-24 Tor Lillqvist <tml@novell.com>
* e-util.h: Include <cairo.h>, not <cairo/cairo.h>.
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 4f384bd657..d213296041 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -247,7 +247,7 @@ e_write_file_uri (const char *filename, const char *data)
GnomeVFSResult result;
GnomeVFSHandle *handle = NULL;
- result = gnome_vfs_create (&handle, filename, GNOME_VFS_OPEN_WRITE, TRUE, 0755);
+ result = gnome_vfs_create (&handle, filename, GNOME_VFS_OPEN_WRITE, FALSE, 0755);
if (result != GNOME_VFS_OK) {
g_warning ("Couldn't save item");
return 1;