Ron Yorston
e4b5ccd13b
timeout: allow fractional seconds in timeout values
...
The 'timeout' applet uses parse_duration_str() to obtain its
timeout values. The default configuration enables float durations.
However, the applet silently ignores fractional seconds. This
results in unexpected behaviour:
$ timeout 5.99 sleep 5.1; echo $?
Terminated
143
When float durations are enabled ensure that any fractional seconds
are taken into account.
function old new delta
timeout_wait 44 92 +48
timeout_main 383 365 -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 48/-18) Total: 30 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2024-07-13 21:34:18 +02:00
..
2017-10-05 15:19:25 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2021-06-14 20:47:20 +02:00
2021-09-17 01:18:31 +02:00
2021-06-14 20:47:20 +02:00
2023-07-10 17:25:21 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2021-10-12 13:23:29 +02:00
2021-08-15 18:26:56 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2023-07-17 17:29:36 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-10-02 14:26:27 +02:00
2017-01-10 15:13:30 +01:00
2023-07-10 17:25:21 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2024-02-25 01:06:30 +01:00
2024-07-11 18:17:31 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-01-02 17:04:44 +01:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2024-05-31 16:03:23 +02:00
2023-05-26 20:17:04 +02:00
2023-05-26 20:17:04 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-10-02 13:56:32 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-11-07 16:59:09 +01:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2021-09-17 01:18:31 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2024-07-13 21:34:18 +02:00
2023-07-17 17:29:36 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-08-31 09:41:53 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00
2023-07-10 17:25:21 +02:00