diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-28 12:32:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-28 12:32:45 -0700 |
commit | aecce6d0eff68a7144e32247d2e02d9974772ab1 (patch) | |
tree | 57f1223d90a5270e23933913eb05713fde4c8aac /compat | |
parent | Seventh batch for 2.6 (diff) | |
parent | Git 2.5.1 (diff) | |
download | tgif-aecce6d0eff68a7144e32247d2e02d9974772ab1.tar.xz |
Sync with 2.5.1
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mingw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index 496e6f8bb0..f74da235f5 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -681,7 +681,7 @@ int pipe(int filedes[2]) return -1; } filedes[1] = _open_osfhandle((int)h[1], O_NOINHERIT); - if (filedes[0] < 0) { + if (filedes[1] < 0) { close(filedes[0]); CloseHandle(h[1]); return -1; |