[rfc] Code cleanup: Permit BIAS to be NULL

Jan Kratochvil jan.kratochvil at redhat.com
Wed Oct 10 06:17:39 UTC 2012


On Wed, 10 Oct 2012 01:51:06 +0200, Roland McGrath wrote:
> I think the reason I made them non-optional is that it's such an easy bug
> to write code that ignores the bias when it shouldn't.

OK.


> For internal functions where it simplifies the code and we can be fairly
> confident we are considering all the strange cases properly (and ideally
> testing them all in the test suite), I wouldn't mind it.

None of the functions I patched were internal only.


Thanks,
Jan


More information about the elfutils-devel mailing list