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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to