Re: [PATCH v3] Cygwin: pipe: Give up to use query_hdl for non-cygwin apps.

2024-03-05 Thread Corinna Vinschen
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

[PATCH v3] Cygwin: pipe: Give up to use query_hdl for non-cygwin apps.

2024-03-05 Thread Takashi Yano
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: b531d6b06