]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: don't assume that time_t is compatible with long
authorIsaac Dunham <ibid.ag@gmail.com>
Fri, 16 Oct 2015 01:12:59 +0000 (18:12 -0700)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Nov 2015 09:25:29 +0000 (10:25 +0100)
commit9723362b31d2800fdd775b8a2e0216c53dfe17fa
tree8e81f74a41113054a7d35fa29b932f6343b511db
parente62d2f23545d4407e4b55eb42c3c598698a80793
script: don't assume that time_t is compatible with long

time_t may change to 64-bit on 32-bit Linux kernels at some point;
at that point, it may be desireable to test for issues with dates
past 2038.

[kzak@redhat.com: - use %jd rather than %lld]

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c