* [patch] silence error message in mlmmj-maintd
@ 2008-06-13 8:06 Thomas Jarosch
2008-06-18 22:27 ` Morten K. Poulsen
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Jarosch @ 2008-06-13 8:06 UTC (permalink / raw)
To: mlmmj
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
Hello together,
attached patch silences the following error message in
mlmmj-maintd if archiving is disabled:
-----------------------------
Jun 13 02:02:37 intranator /usr/bin/mlmmj-maintd[22978]: mlmmj-maintd.c:838:
Could not open '/var/spool/mlmmj/test/index': No such file or directory
-----------------------------
Are there any plans to release a new version
including the two patches I sent earlier?
Cheers,
Thomas
[-- Attachment #2: mlmmj-silence-maintd-warning.patch --]
[-- Type: text/x-diff, Size: 692 bytes --]
diff -u -r -p mlmmj.orig/src/mlmmj-maintd.c mlmmj-1.2.15/src/mlmmj-maintd.c
--- mlmmj.orig/src/mlmmj-maintd.c Fri Jun 13 09:35:23 2008
+++ mlmmj-1.2.15/src/mlmmj-maintd.c Fri Jun 13 09:53:21 2008
@@ -44,6 +44,7 @@
#include "ctrlvalue.h"
#include "send_digest.h"
#include "mylocking.h"
+#include "statctrl.h"
#include "log_oper.h"
static void print_help(const char *prg)
@@ -771,6 +772,9 @@ int run_digests(const char *listdir, con
int fd, indexfd, lock;
size_t lenbuf, lenstr;
+ if (statctrl(listdir, "noarchive") == 1)
+ return 0;
+
digestintervalstr = ctrlvalue(listdir, "digestinterval");
if (digestintervalstr) {
digestinterval = (time_t)atol(digestintervalstr);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] silence error message in mlmmj-maintd
2008-06-13 8:06 [patch] silence error message in mlmmj-maintd Thomas Jarosch
@ 2008-06-18 22:27 ` Morten K. Poulsen
0 siblings, 0 replies; 2+ messages in thread
From: Morten K. Poulsen @ 2008-06-18 22:27 UTC (permalink / raw)
To: mlmmj
Thomas Jarosch wrote:
> attached patch silences the following error message in
> mlmmj-maintd if archiving is disabled:
Cool, thanks.
> Are there any plans to release a new version
> including the two patches I sent earlier?
Yes, I am full of plans ;)
I've been working almost around the clock the last many weeks, so mlmmj
has been down-prioritized. I am on vacation now (but my room has an
Internet connection... though I'm not addicted), so I will probably not
work on it for another month. Mads Martin talked about doing a release.
I don't know if he still want to do it.
Mads Martin - if you have the time, could you commit all the good
patches, and roll a release candidate?
Morten
--
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-18 22:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 8:06 [patch] silence error message in mlmmj-maintd Thomas Jarosch
2008-06-18 22:27 ` Morten K. Poulsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox