handle sizeof(time_t) > sizeof(long) in format strings
Last-Update: 2024-03-11
Forwarded: no
64-bit time_t means that on some architectures, time_t is now larger than
a long, and making some references in format strings incorrect. To avoid
truncation or other size mismatch issues, always cast to a long long and
read using %lld.
Fixes an assertion failure detected during build-time tests on armhf:
slapd: ../../../../../servers/slapd/overlays/dds.c:422: dds_op_add: Assertion `bv.bv_len < sizeof( ttlbuf )' failed.
Gbp-Pq: Name 64-bit-time-t-compat.patch
15 files changed: