]> git.proxmox.com Git - libgit2.git/commit - src/win32/dir.h
Minor win32 fixes and improvements
authorRussell Belfer <rb@github.com>
Tue, 13 Aug 2013 16:53:56 +0000 (09:53 -0700)
committerRussell Belfer <rb@github.com>
Tue, 13 Aug 2013 16:53:56 +0000 (09:53 -0700)
commitee0656012c213a9589c7a0892f3e4a11caebc664
tree1789c273dfb4a4cb06fd1a714b2a66c15b466f18
parent841034a35ee34190fa1cc136acccfa1a4abaed39
Minor win32 fixes and improvements

This is just a bunch of small fixes that I noticed while looking
at the UTF8 and UTF16 path stuff.  It fixes a slowdown in looking
for an empty directory (not exiting loop asap), makes the dir name
in the git__DIR structure be a GIT_FLEX_ARRAY to save an allocation,
and fixes some slightly odd assumptions in the cl_getenv helper.
src/path.c
src/win32/dir.c
src/win32/dir.h
src/win32/posix_w32.c
tests-clar/clar_libgit2.c