[TxMt] Atomic Saving / Saving Question

Sune Foldager cryo at cyanite.org
Tue Feb 8 17:00:22 UTC 2005

On 7. feb 2005, at 18:29, Chris Thomas wrote:

> However, it appears that this discussion is academic, because HFS+'s 
> implementation of exchangedata actually returns an error if one of the 
> files is hardlinked.

Huh? If I have file A hard linked with B and I "atomically" replace A 
(i.e. write A.new, move A.new to A) then I will break the link between 
A and B. That's the issue here, and that's certainly what happens in 
the scenario I just described :-). No HFS+ errors here.

:: the Cottage of Lost Play.
:: http://cyanite.org

More information about the textmate mailing list