]> Savannah Git Hosting - gnulib.git/commit
readutmp, boot-time: Fix parsing of /proc/uptime.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Aug 2023 22:09:06 +0000 (00:09 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Aug 2023 22:09:06 +0000 (00:09 +0200)
commit8501d38f157422dc5f41495016ee6915b36acd07
tree9685aa06012dc8bf708e59a9f3f0c207cb01c185
parent43f9358b3c908428bc8488414a6358c805ecf1e6
readutmp, boot-time: Fix parsing of /proc/uptime.

* lib/boot-time-aux.h (get_linux_uptime): Use c_strtod, not strtod.
* lib/readutmp.c: Include c-strtod.h.
* lib/boot-time.c: Likewise.
* modules/readutmp (Depends-on): Add c-strtod.
* modules/boot-time (Depends-on): Likewise.
ChangeLog
lib/boot-time-aux.h
lib/boot-time.c
lib/readutmp.c
modules/boot-time
modules/readutmp