On Wed, 9 Jan 2008 21:51:01 -0700
"Philip Guenther" <[EMAIL PROTECTED]> wrote:

> 1) pass the same size value to malloc() and strftime(), and

Ya, this is it.  Needs to be the sizeof the input buffer + 2.
Why this does not bread in FreeBSD escapes me, tho'.

> 2) check the strftime() return value and *NOT* use the buffer if it
> returns zero.

Note that this useage is commented out in my debug code...

Dhu

Reply via email to