Windows: hWaitForInput returns False for file handles, and doesn't work properly for consoles
On Windows, readwrite002 is failing with
readwrite002.exe: readwrite002.inout: hWaitForInput: invalid argument (Invalid argument)
The error is being generated by
rc = PeekNamedPipe( hFile, NULL, 0, NULL, &avail, NULL );
in the inputReady
function in cbits/inputReady.c
, during a call to hReady
.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | readwrite002 |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture | Unknown |