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.

At first glance this seems to violate the general Unix principle of
"do one thing well".

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index