> TIMESTAMP is 25 char long, so just enough for the tainstamp with its _at_-prefix.
> This was actually overwriting the last character in the tainstamp!
Applied, thanks.
The *_FMT macros are one more than the max length for the type, to account for
a possible final \0. The TIMESTAMP macro is not.
The discrepancy dates back to the very early days of skalibs, when I didn't have
a unified vision for the coding style yet; and there are a lot of similar small
legacy annoyances. :( Those bite me on a regular, if infrequent, basis.
--
Laurent
Received on Sun Feb 08 2015 - 22:31:29 UTC