Re: [PATCH] s6-log: Fix tainstamp being truncated

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sun, 08 Feb 2015 23:31:29 +0100

> 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

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC