Wenn I run a certain test under Cygwin, the program hangs (a simplified bug reproducing program is appended). Possibly it has to do with the cygserver, because finishing the cygserver lets also finish the program. I'm using gcc 3.4.4 and cygserver 1.20.
The number of assert_equal-Statements in the test case are necessary to reproduce the bug.
Running the program under linux doesn't show the bug (works as expected).
Program to reproduce the bug.
The function 'checked_integer()' is missing from the example source. But assuming it does not do anything significant (empty function), and converting the source to modern syntax, does not hang under Cygwin.