|
From: | Paul Eggert |
Subject: | bug#64937: "who" reports funny dates |
Date: | Thu, 3 Aug 2023 23:33:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Thorsten, is there some way to get the equivalent of /var/log/wtmp with systemd?
Also, I simplified the use of the new readutmp interface a bit, by going back to the old way where you simply call 'free' once to free the storage. Although I toyed with the idea of simplifying readutmp.h further, by moving most of it into readutmp.c and having just struct gl_utmp public (this would simplify coreutils quite a bit), I ran out of time and patience and decided to ship what I had. So I nstalled the first ten attached patches into Gnulib, and the last patch into coreutils.
I haven't tested this with the latest systemd so there could well be typos in that part of the code.
0001-readutmp-simplify-extract_trimmed_name-via-ximemdup0.patch
Description: Text Data
0002-readutmp-go-back-to-simple-free.patch
Description: Text Data
0003-readutmp-fix-idx_t-FIXME-in-API.patch
Description: Text Data
0004-readutmp-pacify-Wstrict-prototypes.patch
Description: Text Data
0005-readutmp-fix-indentation.patch
Description: Text Data
0006-readutmp-switch-new-struct-to-struct-timespec.patch
Description: Text Data
0007-readutmp-systemd-supports-only-UTMP_FILE.patch
Description: Text Data
0008-readutmp-fix-comments.patch
Description: Text Data
0009-m4-systemd.m4-Fix-help-lineup.patch
Description: Text Data
0001-maint-Update-after-gnulib-module-readutmp-changed.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |