]> 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>
Fri, 16 Oct 2015 09:31:22 +0000 (11:31 +0200)
commit345208a5abb876deb451c481a5bab94b009eafe8
tree1e0207ebfdd35158352f1803af2efaeb0fd38b3c
parent99eadc9e3f9a6dc012072c97b9d0845ba13974f8
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