{"action":"opened","issue":{"url":"https://api.github.com/repos/geommer/yabar/issues/16","repository_url":"https://api.github.com/repos/geommer/yabar","labels_url":"https://api.github.com/repos/geommer/yabar/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/geommer/yabar/issues/16/comments","events_url":"https://api.github.com/repos/geommer/yabar/issues/16/events","html_url":"https://github.com/geommer/yabar/issues/16","id":141680397,"number":16,"title":"Fix signal handler","user":{"login":"elfring","id":660477,"avatar_url":"https://avatars.githubusercontent.com/u/660477?v=3","gravatar_id":"","url":"https://api.github.com/users/elfring","html_url":"https://github.com/elfring","followers_url":"https://api.github.com/users/elfring/followers","following_url":"https://api.github.com/users/elfring/following{/other_user}","gists_url":"https://api.github.com/users/elfring/gists{/gist_id}","starred_url":"https://api.github.com/users/elfring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfring/subscriptions","organizations_url":"https://api.github.com/users/elfring/orgs","repos_url":"https://api.github.com/users/elfring/repos","events_url":"https://api.github.com/users/elfring/events{/privacy}","received_events_url":"https://api.github.com/users/elfring/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-17T19:13:01Z","updated_at":"2016-03-17T19:13:01Z","closed_at":null,"body":"The function \"[exit](http://pubs.opengroup.org/onlinepubs/9699919799/functions/exit.html \"Terminate a process.\")\" does not belong to the list of [async-signal-safe functions](https://www.securecoding.cert.org/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers \"Call only asynchronous-safe functions within signal handlers.\").\r\nI guess that a different program design will be needed for your function \"[ya_sighandler](https://github.com/geommer/yabar/blob/5fcc0114354feebe90a7afe81d68791d8dad8f5c/src/ya_exec.c#L100 \"Reconsider signal handling implementation.\")\"."}}