Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] Add an option not to use link(src, dest) && unlink(src) when that is unreliable

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:39

Hi,

On Thu, 23 Apr 2009, Alex Riesen wrote:
2009/4/23 Johannes Schindelin [off-list ref]:
quoted
-       if (link(tmpfile, filename))
+       if (unreliable_hardlinks)
+               ret = ~EEXIST;
It is more like "broken_hardlinks" or even "no_hardlinks"!
Wrong.  As I wrote, single-stepping (i.e. leaving enough time between 
link() and unlink()) works as expected.  So it is not even that the 
hardlinks are broken.  Just the serialization between the operations.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help