Merge branch 'ew/apply' into next

* ew/apply:
  Fix t4114 on cygwin
This commit is contained in:
Junio C Hamano
2006-07-24 01:13:30 -07:00

View File

@@ -2034,7 +2034,7 @@ static void create_one_file(char *path, unsigned mode, const char *buf, unsigned
return;
}
if (errno == EEXIST) {
if (errno == EEXIST || errno == EACCES) {
/* We may be trying to create a file where a directory
* used to be.
*/