]> git.ipfire.org Git - thirdparty/util-linux.git/commit
utmpdump: use iso-8601 timestamp format with subsecond accuracy
authorSami Kerola <kerolasa@iki.fi>
Sun, 15 May 2016 09:25:48 +0000 (10:25 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 Jun 2016 20:58:18 +0000 (21:58 +0100)
commit1173d0a6bfff4db43c1690403992c17a82cba0bb
treea5136dc206c43f8c7d3d72ba10dd5021de27a797
parentc1616946825e7f4ae9769e2846e9ad63a7ba369c
utmpdump: use iso-8601 timestamp format with subsecond accuracy

Newer 'struct utmp' is using 'struct timeval' to represent login and logout
times, so include the maximum accuracy to textual utmp format.  Notice that
this change does not remove support of converting earlier textual formats
back to binary.  But conversions from binary to former format will no longer
be available.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/Makemodule.am
login-utils/utmpdump.c