No-portable use of sighandler_t
Status: Beta
Brought to you by:
rickyw
Using sighandler_t is not portable. It breaks on Mac OS X and probably other BSD systems too.
Affected files:
src/ec2tools/ec2device.cpp
src/ec2tools/ec2test-any.cpp
src/newcdb/main.cpp
On Mac OS X if find I can simply replace sighandler_t with sig_t
However, a better solution would be to use the more portable sigaction() rather than signal() and avoid the use of sighandler_t entirely.