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

A small fix to be able to get rid of debug messages #4

Closed
wants to merge 1 commit into from

Conversation

bluetech
Copy link
Contributor

I personally prefer DEBUG, because I like to keep asserts on even in production. However, we don't use them here, so it hardly matters.

Signed-off-by: Ran Benita <ran234@gmail.com>
@dvdhrm
Copy link
Owner

dvdhrm commented Dec 14, 2011

Pulled. Thanks.

I don't like assert()s. kmscon should always properly cleanup the VT and assert()s don't allow proper termination. Otherwise, we have to manually reset the VT which is disturbing.
Hence, I prefer decent error-handling. Therefore, I just reused NDEBUG.

Thanks
David

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

Successfully merging this pull request may close these issues.

2 participants