git's use of mkdir(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been trying to convince git to run on some of the systems I use.
Of particular relevance at the moment are two BSD systems which have an
important behavioural difference.

Specifically, if /foo/bar does not exist but /foo does,
mkdir("/foo/bar/",...) works on one and fails showing ENOENT on the
other.  (Without the trailing slash, it works on both.)

git (at least in the version I've got here, which appears to be
1.6.4.1) depends on this working, and breaks as a result on the second
of the above two systems.

I've been doing a little digging and I think I might be able to fix
this - but, before I charged ahead with it, I thought I'd float a query
here to ask (a) if this is a known issue and fixed in something more
recent (I had a look at 1.7.2 and a quick read of the code makes me
think it still does this, but I could have missed something) and (b) if
there would be any interest in such fixes if I do come up with them.

Thoughts?

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@xxxxxxxxxxxxxxxxxxxx
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]