From:   Chet Ramey
Subject: Re: Philosophical bash(1) bug
Date:   Wed, 3 Dec 2025 10:01:39 -0500

> (It's not really a float -- it's seconds and microseconds separated by a
`.').

Are you sure about that?

(Yes, I get how the actual struct that you pass to select() has 2
fields - seconds and microseconds - and that it would be neat and
clean to just put the first part of x.y into the first field and the
second part into the second field, but ...)

Anyway, I'm assuming that the natural interpretation of what you wrote
above is that a string value of 3.1 would be interpreted as 3.000001
(decimal) ?  Or is there some other interpretation?

Greg's results (as well as my own testing) suggest otherwise.  That a
TMOUT value of 3.1 means 3.1 (decimal) seconds.  Unless "time" is also
lying to us...


Reply via email to