summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorScott J. Goldman <scottjgo@gmail.com>2012-05-09 23:45:55 -0700
committerScott J. Goldman <scottjgo@gmail.com>2012-05-12 09:51:32 -0700
commit6fb1c0b489c49b761eeddd655dd01e61d402722d (patch)
tree439eda0a4863656b4301280e2671d25c84994a04 /include/git2/commit.h
parentb1ec25facc4fe0cf7633e05f340e689c9f728ed0 (diff)
downloadlibgit2-6fb1c0b489c49b761eeddd655dd01e61d402722d.tar.gz
Fix readdir_r() usage for Solaris
On Solaris, struct dirent is defined differently than Linux. The field containing the path name is of size 0, rather than NAME_MAX. So, we need to use a properly sized buffer on Solaris to avoid a stack overflow. Also fix some DIR* leaks on cleanup.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions