Commit 296f60f56da4854d746984415e7e9887796d4e64

Cyril Roelandt 2012-07-06T00:54:07

Fix libgit2 on GNU/Hurd. On GNU, the d_name field of the dirent structure is defined as "char d_name[1]", so we must allocate more than sizeof(struct dirent) bytes, just like on Sun.