Re: [PATCH] BUG/MINOR: tools: fix parsing "us" unit for timers

2021-04-05 Thread Christopher Faulet
Le 02/04/2021 à 22:12, Thayne McCombs a écrit : Commit c20ad0d8dbd1bb5707bbfe23632415c3062e046c (BUG/MINOR: tools: make parse_time_err() more strict on the timer validity) broke parsing the "us" unit in timers. It caused `parse_time_err()` to return the string "s", which indicates an error.

Re: [PATCH] BUG/MINOR: tools: fix parsing "us" unit for timers

2021-04-02 Thread Thayne McCombs
Oh, and this should be backported to all supported versions.

[PATCH] BUG/MINOR: tools: fix parsing "us" unit for timers

2021-04-02 Thread Thayne McCombs
Commit c20ad0d8dbd1bb5707bbfe23632415c3062e046c (BUG/MINOR: tools: make parse_time_err() more strict on the timer validity) broke parsing the "us" unit in timers. It caused `parse_time_err()` to return the string "s", which indicates an error. Now if the "u" is followed by an "s" we properly