core dump from within asctime_r()
stdbill.h at pobox.com
Sun Jan 31 01:21:17 UTC 2010
On Sat, Jan 30, 2010 at 5:37 PM, Tony Finch <dot at 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
Is it "a defect in the standard" that malloc() can return NULL?
Or do you mean something else that I'm missing?
More information about the tz