yabar icon indicating copy to clipboard operation
yabar copied to clipboard

Fix signal handler

Open elfring opened this issue 9 years ago • 2 comments
trafficstars

The function "exit" does not belong to the list of async-signal-safe functions. I guess that a different program design will be needed for your function "ya_sighandler".

elfring avatar Mar 17 '16 19:03 elfring

Can't exit() just be changed to _Exit() to conform to the spec or am I missing something?

Lindenk avatar Mar 20 '16 03:03 Lindenk

The mentioned function replacement could work.

Would you like to consider other software design options?

elfring avatar Mar 20 '16 08:03 elfring