summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-09-16 12:54:40 -0700
committerRussell Belfer <rb@github.com>2013-09-17 09:31:46 -0700
commiteefc32d54944ead5a5e3041c1b1f6c8c946cc014 (patch)
treee6d22bdf1655a37cbde72d192ca9c0d0bae6fa12 /src/win32
parenteab3746b3026950ed62842c1e5641556d7131a5b (diff)
downloadlibgit2-eefc32d54944ead5a5e3041c1b1f6c8c946cc014.tar.gz
Bug fixes and cleanups
This contains a few bug fixes and some header and API cleanups. The main API change is that filters should now use GIT_PASSTHROUGH to indicate that they wish to skip processing a file instead of GIT_ENOTFOUND. The bug fixes include a possible out-of-range buffer access in the ident filter, a filter ordering problem I introduced into the custom filter tests on Windows, and a filter buf NUL termination issue that was coming up on Linux.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/pthread.c b/src/win32/pthread.c
index 8c7ef2856..db8927471 100644
--- a/src/win32/pthread.c
+++ b/src/win32/pthread.c
@@ -6,6 +6,7 @@
*/
#include "pthread.h"
+#include "../global.h"
int pthread_create(
pthread_t *GIT_RESTRICT thread,