Jan. 31, 2010
1:21 a.m.
On Sat, Jan 30, 2010 at 5:37 PM, Tony Finch <dot@dotat.at> wrote:
On Sat, 30 Jan 2010, Robert Elz wrote:
locatime() can return NULL these days, ...
This code follows the C standard, so this bug is a defect in the standard.
How so? It's not the job of the standard to specify coding practices. If a function can return a null pointer, programmers need to check for that. Is it "a defect in the standard" that malloc() can return NULL? Or do you mean something else that I'm missing? --Bill Seymour