On 13 February 2014 17:39, Todd C. Miller wrote:
> Correct, though I prefer the following for clarity.
>
> - todd
>
> Index: lib/libc/time/strptime.c
> ===
> RCS file: /home/cvs/openbsd/src/lib/libc/time/strptime.c,v
> retrieving rev
Correct, though I prefer the following for clarity.
- todd
Index: lib/libc/time/strptime.c
===
RCS file: /home/cvs/openbsd/src/lib/libc/time/strptime.c,v
retrieving revision 1.15
diff -u -r1.15 strptime.c
--- lib/libc/time/strptime.
As of lib/libc/time/strptime.c r1.15, certain conversions will perform
calculations using the provided tm_mday value, which will frequently
produce incorrect values for tm_mday and tm_yday. Apologies in
advance for the mangled patch.
Thanks.
--david
Compare runs of the test program below:
/* s