summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2012-07-06 00:54:07 +0200
committerCyril Roelandt <tipecaml@gmail.com>2012-07-06 00:54:07 +0200
commit296f60f56da4854d746984415e7e9887796d4e64 (patch)
treefedccaf793870375465e639ab0516ea9b0439793 /src/commit.c
parentb00e9216058e58fd17d27df55cac3b991ad7bd31 (diff)
downloadlibgit2-296f60f56da4854d746984415e7e9887796d4e64.tar.gz
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions