Re: [Exim] dbm updates

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Sheldon Hearn
Ημερομηνία:  
Προς: Miquel van Smoorenburg
Υ/ο: exim-users
Αντικείμενο: 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.