{"thread":{"id":"4916","subject":"[PATCH] Fix t4114 on cygwin","startedAt":"2006-07-18T17:46:34Z","lastAt":"2006-07-24T06:41:53Z","messageCount":2,"participants":["Johannes Schindelin","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"23924","messageId":"Pine.LNX.4.63.0607181946090.29667@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"4916","inReplyTo":null,"subject":"[PATCH] Fix t4114 on cygwin","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-07-18T17:46:34Z","receivedAt":"2006-07-18T17:46:34Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nOn cygwin, when you try to create a symlink over a directory, you do\nnot get EEXIST, but EACCES.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n---\n builtin-apply.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/builtin-apply.c b/builtin-apply.c\nindex 8f7cf44..d924ac3 100644\n--- a/builtin-apply.c\n+++ b/builtin-apply.c\n@@ -2034,7 +2034,7 @@ static void create_one_file(char *path, \n \t\t\treturn;\n \t}\n \n-\tif (errno == EEXIST) {\n+\tif (errno == EEXIST || errno == EACCES) {\n \t\t/* We may be trying to create a file where a directory\n \t\t * used to be.\n \t\t */\n-- \n1.4.2.rc1.gaf40\n"},{"id":"24041","messageId":"7vvepnfqry.fsf@assigned-by-dhcp.cox.net","threadId":"4916","inReplyTo":"Pine.LNX.4.63.0607181946090.29667@wbgn013.biozentrum.uni-wuerzburg.de","subject":"Re: [PATCH] Fix t4114 on cygwin","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-24T06:41:53Z","receivedAt":"2006-07-24T06:41:53Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}