Re: [Exim] dbm updates

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Sheldon Hearn
Fecha:  
A: Miquel van Smoorenburg
Cc: exim-users
Asunto: Re: [Exim] dbm updates

On Sun, 17 Jun 2001 16:12:18 GMT, Miquel van Smoorenburg wrote:

> NAME
>        rename - change the name or location of a file

[...]

Do you know, I've always thought that rename() isn't guaranteed to be
atomic by POSIX. I've just checked the latest draft, and it does look
like it's guaranteed atomic!

Thanks for the heads up. exim_dbmbuild uses rename(), so as long as
you're using a single-file DBM system, this is a total non-problem.

Ciao,
Sheldon.