Commit 6a1ca96e4193f79c16c6a71dd8b5d576acf22e91

Vicent Marti 2014-05-02T17:14:04

Temporary fix for Travis CI builds See https://github.com/libgit2/libgit2/pull/2321#issuecomment-42039673 We may rollback once we found something more reliable

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/posix.c b/src/posix.c
index 7b2962f..7484ac0 100644
--- a/src/posix.c
+++ b/src/posix.c
@@ -99,7 +99,7 @@ const char *p_gai_strerror(int ret)
 
 #endif /* NO_ADDRINFO */
 
-int p_open(const char *path, int flags, ...)
+int p_open(const char *path, volatile int flags, ...)
 {
 	mode_t mode = 0;