On the importance of return codes
Posted Dec 3, 2009 10:27 UTC (Thu) by
epa (subscriber, #39769)
In reply to:
On the importance of return codes by hppnq
Parent article:
On the importance of return codes
It seems only a relatively recent change to unsetenv() introduced a non-void return value, and that the loader code was not updated at the same time.
I wonder whether linting the whole source tree with some kind of static analyser to warn about ignored return values would have caught this.
(
Log in to post comments)