[tz] [PROPOSED 2/2] strftime: conform better to POSIX+

Paul Eggert eggert at cs.ucla.edu
Sun Aug 9 18:00:35 UTC 2020


On 8/9/20 9:32 AM, Robert Elz wrote:
> pass the "+fmt" arg to strftime, unaltered.

Thanks, I hadn't thought of that trick. I installed the attached patch to do it.

I remain convinced that an ERANGE errno is useful, though. General-purpose 
routines don't always have the luxury of knowing that format[-1] is available.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date-redo-strftime-buffer-exhaustion-check.patch
Type: text/x-patch
Size: 1887 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20200809/6e4c25eb/attachment.bin>


More information about the tz mailing list