I'm able to reproduce this on my machine, but only when I'm
running it under rxvt. If I run it from cmd.exe or within a
standard cygwin bash shell, then it completes without the
'-- BOGUS ALARM --' warnings.
$ uname -a
CYGWIN_NT-5.0 claus 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
$ gcc -o ua-test ua-test.c
$ ./ua-test.exe
First ualarm - one shot
Second ualarm - one shot
Last ualarm - repeats 3 times
Clearing ualarm
Sleeping
--- BOGUS ALARM ---
--- BOGUS ALARM ---
Done
It behaves the same for me no matter where I run it. I even increased the
final sleep time in case the program was exiting before the bogus alarm
was tripped.
cgf
my previous test case was run under rxvt as well, with no BOGUS ALARM's
noted.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/