You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
timeout: Duration parsing does not support all float formats (e.g. hex) #7475
Not a huge deal, probably a pretty rare edge case that I doubt anybody cares about, but it seems worth it to use generic float parsing functions in uucore/format after they are fixed.
One interesting thing is that GNU coreutils rounds down very small values to 0, which has a totally different meaning (0 means no timeout, a small value should be a... very short timeout).
Activity
drinkcat commentedon Apr 4, 2025
One interesting thing is that GNU coreutils rounds down very small values to 0, which has a totally different meaning (0 means no timeout, a small value should be a... very short timeout).
Those 3 exit immediately:
But this never exits:
As if we had typed:
Similarly to the discussion in #7641, I wouldn't find it shocking if we treated
1e-3000as a very short timeout (and not 0).cakebaker commentedon Apr 4, 2025
Closed by mistake, reopen it.
tertsdiepraam commentedon Apr 4, 2025
Might be worth sending a bug report about! I can't find anything about it on their mailing lists.
drinkcat commentedon Apr 4, 2025
Good point. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77535
Also interesting to see those arguments about 0 meaning never: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9102 (it would be better to use
infIMHO...)uucore: parser: parse_time: Handle infinity and nan
uucore: parser: parse_time: Use ExtendedBigDecimal parser
drinkcat commentedon Apr 4, 2025
That was worth it, already fixed!
drinkcat commentedon Apr 5, 2025
Fixed by #7648.
uucore: parser: parse_time: Handle infinity and nan
uucore: parser: parse_time: Use ExtendedBigDecimal parser