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

libraries should not call exit() #64

Closed
ensonic opened this issue Jan 6, 2016 · 1 comment
Closed

libraries should not call exit() #64

ensonic opened this issue Jan 6, 2016 · 1 comment
Assignees
Milestone

Comments

@ensonic
Copy link
Member

ensonic commented Jan 6, 2016

The core and ic library calls exit() it option parsing fails in _init() These methods have a variant that does not call exit. rpmlint warns about the exit() calls. Check what other libraries do in this case nowadays.

@ensonic ensonic self-assigned this Jan 6, 2016
@ensonic ensonic added this to the 0.11 milestone Jan 6, 2016
@ensonic
Copy link
Member Author

ensonic commented Jan 18, 2017

gtk_init() also calls exit() when gtk_init_check() fails. Keeping things as they are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant