Fixed erroneous file flag in _popen.
This commit is contained in:
parent
1a182a7629
commit
879a8f3a2c
|
@ -541,7 +541,6 @@ MSVCRT_FILE* MSVCRT__popen(const char* command, const char* mode)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
textmode |= MSVCRT__O_NOINHERIT;
|
|
||||||
if (_pipe(fds, 0, textmode) == -1)
|
if (_pipe(fds, 0, textmode) == -1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue