remove longjmp from signalhandler in getans
authorPhilipp Takacs <philipp@bureaucracy.de>
Sat, 21 Feb 2015 10:03:26 +0000 (11:03 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 22 Feb 2015 22:10:00 +0000 (23:10 +0100)
commit8edab16f7a56c8e822f94609b69c4f95ee2eec3b
treebb06151ba5278540313106da4cbf71a6a078f769
parent1201af682c2a7e34d4d598e62718306b885a187e
remove longjmp from signalhandler in getans

To avoid undefined behavior use close in the signal handler.
sbr/getans.c