dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
433 stars 81 forks source link

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

Closed bluetech closed 12 years ago

bluetech commented 12 years ago

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.

dvdhrm commented 12 years ago

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