On Fri, 25 Nov 2022 14:22:15 +0100 Dmitry Karasik wrote: > Otherwise, to reproduce, download and unpack > http://karasik.eu.org/misc/cygwin/cygwin-gtk-dlopen-fork-bug.tar > and run ./try there.
Why do you include windows.h in test.c? I encountered following error. /usr/include/w32api/processthreadsapi.h:165:11: Error: expected identifier or ‘(’ before numeric constant 165 | ULONG ControlMask; | ^~~~~~~~~~~ Removing #include <windows.h> or adding #undef ControlMask is necessary to compile test.c without errors. With that modification, your problem can not be reproducible in my environment. The result is as follows. not expecting a bug child existed with 0 expecting a bug child existed with 0 no bug detected -- 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