]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/timeutils: don't use glibc strptime extension
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 23 Sep 2023 08:24:58 +0000 (10:24 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 27 Sep 2023 17:33:30 +0000 (19:33 +0200)
commit10e078374d3c44edde56a1c53578bfed1c9da94c
tree21aa6dbf8154ab0d13da9c9057fe0e1ed6a79362
parentd3278188954e1b710ede9541395e0abf3f6b2a14
lib/timeutils: don't use glibc strptime extension

strptime("%s") is a glibc extension and for example not available on
musl. Reimplement the functionality in a cross-platform way.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/timeutils.c