Actually, dctime has always been writing off the end of the string...
I guess there was never anything critical immediately after the buffer.
+ Kim
[EMAIL PROTECTED] (Kimmo Suominen) writes:
| Hi!
|
| This turned out to be a problem in the dctime function. It was converted
| to using snprintf, but the buffer length was not increased to allow for
| the null character snprintf places at the last position of the buffer.
| The newline was thus discarded by snprintf and a null was stored in its
| place.
|
| The attached patch fixes this (and any similar problem mhl might have).
|
| Cheers,
| + Kim
--
<A HREF="http://www.tac.nyc.ny.us/~kim/">Kimmo Suominen</A>