On Fri, 19 Mar 2021 19:08:07 +0900 Takashi Yano wrote: > Corinna, is it possble to apply the patch for 3.2.0 release?
By the way, duaring testing https://github.com/k-takata/ptycheck, I noticed _get_osfhandle() does not work properly for stdout and stderr. Shouldn't this extern "C" long _get_osfhandle (int fd) { long res; cygheap_fdget cfd (fd); if (cfd >= 0) res = (long) cfd->get_handle (); else res = -1; syscall_printf ("%R = get_osfhandle(%d)", res, fd); return res; } be extern "C" long _get_osfhandle (int fd) { long res; cygheap_fdget cfd (fd); if (cfd >= 0) { if (fd == 1 || fd == 2) res = (long) cfd->get_output_handle_cyg (); else res = (long) cfd->get_handle_cyg (); } else res = -1; syscall_printf ("%R = get_osfhandle(%d)", res, fd); return res; } ? -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple