tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: factoring out prop_XXX_pack_pref() and prop_XXX_copyin_pref()



On Tue, Aug 04, 2009 at 05:30:20PM -0700, Jason Thorpe wrote:
> 
> It was, in fact, thought out.  You give it a path name so that it can  
> write to a temporary file in the same directory and then rename to the  
> supplied path, thus ensuring an atomic update of the externalized  
> property list.

Doesn't that lead to the problems with mktemp() v mkstemp() ?

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index