diff options
Diffstat (limited to 'otherlibs/win32unix/dup.c')
-rw-r--r-- | otherlibs/win32unix/dup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/dup.c b/otherlibs/win32unix/dup.c index 95f517e95..b7767513e 100644 --- a/otherlibs/win32unix/dup.c +++ b/otherlibs/win32unix/dup.c @@ -19,7 +19,7 @@ value unix_dup(value fd) /* ML */ HANDLE newh; if (! DuplicateHandle(GetCurrentProcess(), Handle_val(fd), GetCurrentProcess(), &newh, - 0L, inherit, DUPLICATE_SAME_ACCESS)) { + 0L, TRUE, DUPLICATE_SAME_ACCESS)) { _dosmaperr(GetLastError()); return -1; } |