Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rj/mingw-isguid'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Apr 2012 20:01:42 +0000
(13:01 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Apr 2012 20:01:42 +0000
(13:01 -0700)
By Ramsay Jones
* rj/mingw-isguid:
compat/mingw.h: Set S_ISUID to prevent a fast-import test failure
compat/mingw.h
patch
|
blob
|
history
raw
(from parent 1:
b5d681b
)
diff --git
a/compat/mingw.h
b/compat/mingw.h
index ef5b15014e98b2e4d20a8087dd497216db95d2fc..61a652138ac7b7ef412bbc15e6ce479db158b181 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-22,9
+22,10
@@
typedef int socklen_t;
#define S_IWOTH 0
#define S_IXOTH 0
#define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
-#define S_ISUID 0
-#define S_ISGID 0
-#define S_ISVTX 0
+
+#define S_ISUID 0004000
+#define S_ISGID 0002000
+#define S_ISVTX 0001000
#define WIFEXITED(x) 1
#define WIFSIGNALED(x) 0