]> git.ipfire.org Git - thirdparty/systemd.git/commit
time-util: do not carry musl-specific fallback logic on glibc systems
authorMike Yuan <me@yhndnzj.com>
Wed, 12 Nov 2025 20:53:41 +0000 (21:53 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Nov 2025 08:40:20 +0000 (09:40 +0100)
commit6dd412bc50b14274a37f5e0d89efdd534518eeaf
tree1d38b59c477b9a4257f49472d167d678b61d6af9
parent4a028994dfb14a2a07c11895c2b89fdd757a79e3
time-util: do not carry musl-specific fallback logic on glibc systems

Follow-up for 3ac4d68498dd378e2b3acd2bb86f4700263532d0

We have no sensible way to detect why strptime() fails, hence
the fallback path as it is now would fire on glibc systems too,
pointlessly. Let's guard it behind ifdeffery.
src/basic/time-util.c