aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-05 02:10:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-05 02:10:44 +0800
commita57815af6b1c0c3d0548fa1492f3c061018457fe (patch)
tree1cdd328e25af658f01256bf739ec86c171501794
parentee7399c9de5be4e925500daddd85318820327e00 (diff)
downloadgsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.gz
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.bz2
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.lz
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.xz
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.zst
gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.zip
Don't create a new file if the file doesn't exist.
2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): Don't create a new file if the file doesn't exist. svn path=/trunk/; revision=18325
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1c3a45c988..aae514d59c 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-02 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (get_file_content): Don't create a new file if
+ the file doesn't exist.
+
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): If the user hits cancel when
@@ -12,7 +17,8 @@
2002-09-30 Aaron Weber <aaron@ximian.com>
- * evolution-composer.c (evolution_composer_factory_init): adjust string on line 391
+ * evolution-composer.c (evolution_composer_factory_init): adjust
+ string on line 391
* e-msg-composer.c (create_composer): adjust string on 2872
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 4ed027b41b..650d19497e 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -779,7 +779,7 @@ get_file_content (EMsgComposer *composer, const char *file_name, gboolean want_h
char *content;
int fd;
- fd = open (file_name, O_RDONLY | O_CREAT, 0644);
+ fd = open (file_name, O_RDONLY);
if (fd == -1) {
char *msg;