Re: [Exim] local scan API questions

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Jim Pazarena
CC: exim-users
Asunto: Re: [Exim] local scan API questions
On Mon, 4 Nov 2002, Jim Pazarena wrote:

> Should the local_scan function "close" the fd which it has been passed
> when it is thru with it?


No. Definitely not. That would lose the lock. The documentation should
make this clear, but I see that it doesn't. Noted.

> If local_scan requests memory via store_get(), does it need to free it?


No. The reception process will end soon afterwards, so it doesn't
matter. Also noted for documenting.

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.