From addf10a651ba9232e4ce33b3a0a009b9ad7c8b67 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sun, 27 Aug 2006 11:55:06 +0000 Subject: ** Fix for bug #352941 svn path=/trunk/; revision=32679 --- e-util/ChangeLog | 6 ++++++ e-util/e-util.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + ** Fix for bug #352941 + + * e-util.c: (e_write_file_uri): Allow files to be overwritten. + 2006-08-24 Tor Lillqvist * e-util.h: Include , not . 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; -- cgit v1.2.3