Debian Patches

Status for tlog/14-2.1

Patch Description Author Forwarded Bugs Origin Last update
Adjust-printf-codes-for-64bit-time_t-on-32bit-systems.patch [PATCH] Adjust printf codes for 64-bit time_t on 32-bit systems
Convert to long long and use %lld for printing.
Use %lld and read to long long when scanning string.
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> no 2024-05-15
timespec-define-TLOG_TIME_T_MIN_TLOG_TIME_T_MAX.patch [PATCH] timespec: define TLOG_TIME_T_MIN, TLOG_TIME_T_MAX
The library makes the false assumption that time_t is equivalent to long.
To avoid the year 2038 problem Linux distributions have moved to using
64-bit time_t on 32-bit architectures.

Replace the LONG_MIN and LONG_MAX by new symbols TLOG_TIME_T_MIN,
TLOG_TIME_T_MAX.
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> no 2024-05-15
0001-Add-missing-argument-for-sigchld-handler.patch Add missing argument for sigchld handler
rec.c: In function 'tlog_rec_transfer':
rec.c:877:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
877 | sa.sa_handler = tlog_rec_sigchld_handler;
| ^
rec.c:81:1: note: 'tlog_rec_sigchld_handler' declared here
81 | tlog_rec_sigchld_handler()
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from rec.c:45:
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make[4]: *** [Makefile:734: rec.lo] Error 1
Justin Stephenson <jstephen@redhat.com> no 2025-01-23

All known versions for source package 'tlog'

Links