Autor: Kevin P. Fleming Data: Dla: exim-users Temat: Re: [Exim] New exim code having DB writing problems
Philip Hazel wrote: > On Fri, 20 Sep 2002, Kevin P. Fleming wrote:
>
>
>>(Doh! I just found the problem. A stray O_RDONLY was still on the
>>dbfn_open call.... Wonder how it worked for the first record?)
>
>
> Magic. Software is like that.
>
Yep... just a note for your mental files. A dbfn_open call (with BDB
4.0) with _only_ O_RDONLY specified (not O_CREAT) for a non-existant
database will create it, and it will be read-write until dbfn_close is
called.