[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checked in sieve code

From: Alain Magloire
Subject: Re: checked in sieve code
Date: Sat, 9 Jun 2001 13:55:30 -0400 (EDT)

> Unused, hardly, all caveats apply.
> To build, add sieve/Makefile to the AC_OUTPUT statement
> at about line 165 of configure.in.


> -- off topic --
> I suspect my mbox-explode.c example app of currupting and
> truncating a large maibox of mine while running on it and
> being SIGINTed, despite having opened it readonly. Also, it

In theory that is not possible, if you open the file readonly
you simply can not write to it.  It is not mailutils/mailbox
that is preventing this but the OS since the file was open (, O_RDONLY);
and for mmap(, PROT_READ);
So my guess is, the orginal mailbox was already corrupted
by previous experiences and it was unnoticed.

> I am trying to save, which may be me using the wrong apis,
> or related to the mbox being corrupted, I'm trying to
> figure out what happened.

I'll do some tests here.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]