[Rpm-maint] [rpm-software-management/rpm] Improvements for xz support (#17)

proyvind notifications at github.com
Sat May 28 12:22:32 UTC 2016


Hm, there's several asserts in place throughout source code that would be bad to compile with -DNDEBUG as the desired and safe behaviour expected for assert is to abort if expession evaluated is false...

Of course one could replace the assert(3) with:
if(--mt_options.threads == 0)
    abort();

This way ensuring same behaviour regardless of, but this gives me a dirty feeling with me questioning whether there's some other standard functionality for graceful exit suitable and recommended for this to use in stead available in rpm.org?

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/17#issuecomment-222305873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160528/03a24e3a/attachment.html>


More information about the Rpm-maint mailing list