aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-fs.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-06-25 00:44:28 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-25 00:44:28 +0800
commit179e04c582ab764dab34f0451e5317a1ed237565 (patch)
tree47b5ad8ea4d9a2523f914ba2f4e3bc8e790dbef2 /camel/camel-stream-fs.c
parentd953c8fd58a748ede1587bed1362ee6da484fac5 (diff)
downloadgsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar.gz
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar.bz2
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar.lz
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar.xz
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.tar.zst
gsoc2013-evolution-179e04c582ab764dab34f0451e5317a1ed237565.zip
Various patches from Ulrich Drepper <drepper at cygnus.com>
1999-06-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (_write_one_recipient_to_stream): includes gmime-utils header. patch from Ulrich Drepper <drepper at cygnus.com> set separator string in write_header_with_glist_to_stream() * camel/camel-log.c (camel_log): patch from Ulrich Drepper <drepper at cygnus.com> Do not use stderr in initialization of logfile descriptor. * camel/camel-stream-fs.c (camel_stream_fs_new_with_name): patch from Ulrich Drepper <drepper at cygnus.com> initialize mode field in open(). svn path=/trunk/; revision=994
Diffstat (limited to 'camel/camel-stream-fs.c')
-rw-r--r--camel/camel-stream-fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-stream-fs.c b/camel/camel-stream-fs.c
index c7335f9821..09b193b229 100644
--- a/camel/camel-stream-fs.c
+++ b/camel/camel-stream-fs.c
@@ -111,7 +111,7 @@ camel_stream_fs_new_with_name (GString *name, CamelStreamFsMode mode)
if ( (mode & CAMEL_STREAM_FS_READ) && !(mode & CAMEL_STREAM_FS_WRITE) )
if (v == -1) return NULL;
- fd = open (name->str, flags);
+ fd = open (name->str, flags, 0600);
if (fd==-1) {
CAMEL_LOG (FULL_DEBUG, "CamelStreamFs::new_with_name can not obtain fd for file \"%s\"\n", name->str);
CAMEL_LOG (FULL_DEBUG, " Full error text is : %s\n", strerror(errno));