nm4 2009/10/19 13:42:13 BST
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src/transports tf_maildir.c
Log:
Use transport mode as default mode for maildirsize file. Fixes: #727
Revision Changes Path
1.576 +2 -0 exim/exim-doc/doc-txt/ChangeLog
1.12 +1 -1 exim/exim-src/src/transports/tf_maildir.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.575
retrieving revision 1.576
diff -u -r1.575 -r1.576
--- ChangeLog 19 Oct 2009 11:47:43 -0000 1.575
+++ ChangeLog 19 Oct 2009 12:42:13 -0000 1.576
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.575 2009/10/19 11:47:43 nm4 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.576 2009/10/19 12:42:13 nm4 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -123,6 +123,8 @@
NM/24 Bugzilla 688: Fix exiwhat to handle log_selector = +pid
Patch provided by Heiko Schlittermann
+NM/24 Bugzilla 727: Use transport mode as default mode for maildirsize file
+
Exim version 4.69
-----------------
Index: tf_maildir.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/transports/tf_maildir.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- tf_maildir.c 16 May 2008 12:02:19 -0000 1.11
+++ tf_maildir.c 19 Oct 2009 12:42:13 -0000 1.12
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.11 2008/05/16 12:02:19 nm4 Exp $ */
+/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.12 2009/10/19 12:42:13 nm4 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -392,7 +392,7 @@
filename = string_sprintf("%s/maildirsize", path);
DEBUG(D_transport) debug_printf("looking for maildirsize in %s\n", path);
-fd = Uopen(filename, O_RDWR|O_APPEND, 0600);
+fd = Uopen(filename, O_RDWR|O_APPEND, ob->mode ? ob->mode : 0600);
if (fd < 0)
{
if (errno != ENOENT) return -1;