diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-17 07:21:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-17 07:21:28 +0800 |
commit | 9180a6949fa42011efde8d80bc155b8f6c985069 (patch) | |
tree | fbe665b6a60048f8bda82d4fd35a065bd38dd29b /mail/mail-ops.c | |
parent | 5454c35a4261b7d4976527bd107351f7246468fd (diff) | |
download | gsoc2013-evolution-9180a6949fa42011efde8d80bc155b8f6c985069.tar.gz gsoc2013-evolution-9180a6949fa42011efde8d80bc155b8f6c985069.tar.zst gsoc2013-evolution-9180a6949fa42011efde8d80bc155b8f6c985069.zip |
If the user hits "No", then don't destroy the filesel window.
2001-01-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (save_msg_ok): If the user hits "No", then
don't destroy the filesel window.
* mail-ops.c (save_messages_save): Open with mode 0666 as danw
suggests.
svn path=/trunk/; revision=7553
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index aed29afd45..26202e3cfd 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1898,7 +1898,7 @@ static void save_messages_save(struct _mail_msg *mm) int fd, i; char *from; - fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC); + fd = open(m->path, O_WRONLY | O_CREAT | O_TRUNC, 0666); if (fd == -1) { camel_exception_setv(&mm->ex, CAMEL_EXCEPTION_SYSTEM, _("Unable to create output file: %s\n %s"), m->path, strerror(errno)); |