On Mar 5 23:48, Takashi Yano wrote: > Non-cygwin app may call ReadFile() for empty pipe, which makes > NtQueryObject() for ObjectNameInformation block in fhandler_pipe:: > get_query_hdl_per_process. Therefore, do not to try to get query_hdl > for non-cygwin apps. > > Addresses: https://github.com/msys2/msys2-runtime/issues/202 > > Fixes: b531d6b06eeb ("Cygwin: pipe: Introduce temporary query_hdl.") > Reported-by: Alisa Sireneva, Johannes Schindelin <[email protected]> > Reviewed-by: Corinna Vinschen <[email protected]> > Signed-off-by: Takashi Yano <[email protected]> > --- > winsup/cygwin/fhandler/pipe.cc | 57 ++++++++-------------------------- > winsup/cygwin/release/3.5.2 | 4 +++ > 2 files changed, 17 insertions(+), 44 deletions(-)
Looks good, thanks! Corinna
