Thread (6 messages) flat view 6 messages, 5 authors, 2016-06-15

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

From: Michael Gaber <hidden>
Date: 2016-06-15 22:46:39

Possibly related (same subject, not in this thread)

Linus Torvalds schrieb:
On Sat, 25 Apr 2009, Junio C Hamano wrote:
quoted
@@ -2225,7 +2225,9 @@ int move_temp_to_file(const char *tmpfile, const char *filename)
 {
 	int ret = 0;
 
-	if (link(tmpfile, filename))
+	if (unreliable_hardlinks)
+		goto try_rename;
Much better.

		Linus
http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD215.PDF
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Attachments

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