diff options
-rw-r--r-- | composer/ChangeLog | 8 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 2 |
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; |