Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared lib calls exit #6

Closed
Vascom opened this issue Oct 24, 2019 · 2 comments
Closed

Shared lib calls exit #6

Vascom opened this issue Oct 24, 2019 · 2 comments
Labels
wontfix This will not be worked on

Comments

@Vascom
Copy link

Vascom commented Oct 24, 2019

libacar call exit when compiled as shared lib. This is bad.

This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.

Please correct it.

@szpajder
Copy link
Owner

szpajder commented Oct 24, 2019 via email

@Vascom
Copy link
Author

Vascom commented Oct 24, 2019

OK, but I had to do this bug report.

@szpajder szpajder added the wontfix This will not be worked on label May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants