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

Góra strony
Delete this message
Reply to this message
Autor: Chris Thompson
Data:  
Dla: exim-users
Temat: 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@???