Fix build/runtime issues on Solaris #681
vmg merged 5 commits into libgit2:development from scottjg:solaris-fixes
May 14, 2012
Commits on May 10, 2012
Commits on May 11, 2012
Commits on May 12, 2012
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.
Commits on May 14, 2012