nm4 2009/10/30 15:08:25 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src/transports tf_maildir.c
Log:
Further fix to maildirsize. Fixes: #727
Revision Changes Path
1.584 +1 -0 exim/exim-doc/doc-txt/ChangeLog
1.13 +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.583
retrieving revision 1.584
diff -u -r1.583 -r1.584
--- ChangeLog 26 Oct 2009 13:22:13 -0000 1.583
+++ ChangeLog 30 Oct 2009 15:08:25 -0000 1.584
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.583 2009/10/26 13:22:13 nm4 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.584 2009/10/30 15:08:25 nm4 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -124,6 +124,7 @@
Patch provided by Heiko Schlittermann
NM/25 Bugzilla 727: Use transport mode as default mode for maildirsize file
+ plus update to original patch.
NM/26 Bugzilla 799: Documentation correction for ratelimit
Index: tf_maildir.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/transports/tf_maildir.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tf_maildir.c 19 Oct 2009 12:42:13 -0000 1.12
+++ tf_maildir.c 30 Oct 2009 15:08:25 -0000 1.13
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.12 2009/10/19 12:42:13 nm4 Exp $ */
+/* $Cambridge: exim/exim-src/src/transports/tf_maildir.c,v 1.13 2009/10/30 15:08:25 nm4 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -559,7 +559,7 @@
tempname = string_sprintf("%s/tmp/%lu.H%luP%lu.%s", path, tv.tv_sec,
tv.tv_usec, getpid(), primary_hostname);
- fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, 0600);
+ fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, ob->mode ? ob->mode : 0600);
if (fd >= 0)
{
(void)sprintf(CS buffer, OFF_T_FMT "S,%dC\n" OFF_T_FMT " %d\n",