Re: [Exim] What to do about non-monitonic process ids

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Chris Thompson
Fecha:  
A: exim-users
Asunto: Re: [Exim] What to do about non-monitonic process ids
Philip Hazel <ph10@???> writes:
[...]
> But for maildir deliveries, Exim insists on writing a new file (by using
> O_CREAT). So I don't see that it matters whether the name is
> predictable or not.
>
> > The use of unpredictable filenames would be an added level of protection
> > against programming mistakes.
>
> You mean like forgetting to use O_CREAT?


Do you mean O_CREAT+O_EXCL here? O_CREAT by itself doesn't guarantee the
file being new.

Chris Thompson
Email: cet1@???