Message122670
There's an error in time_ctime where it expects the length of the string to be fixed:
if (p[24] == '\n')
p[24] = '\0';
It doesn't count on the year having 5 digits. It should probably say (untested):
l = len(p);
if (l > 0 && p[l-1] == '\n')
p[l-1] = '\0';
I'll whip up a patch and some tests. I'm not sure if the tests will work on platforms other than Linux. I'll see what I can find out about ctime and large values. |
|
Date |
User |
Action |
Args |
2010-11-28 16:09:31 | eric.smith | set | recipients:
+ eric.smith, Gerrit.Holl |
2010-11-28 16:09:31 | eric.smith | set | messageid: <1290960571.39.0.140476199048.issue10563@psf.upfronthosting.co.za> |
2010-11-28 16:09:29 | eric.smith | link | issue10563 messages |
2010-11-28 16:09:29 | eric.smith | create | |
|