On 3/23/23 8:42 PM, William Kennington via Bug reports for the GNU Bourne Again SHell wrote:
We have systems that start off with inaccurate clocks and at some point
after the boot process synchronize with the network and jump forward in
time. This has the potential to break any scripts that are sitting in
loops, calculating a timeout based on the $SECONDS variable. The current
behavior using realtime instead of monotime is surprising to us.
So the system jumps forward in time at some random point, after the shell
script has started and $SECONDS has been initialized. You're worried that
these scripts will hit their timeout too quickly?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


  • $SECONDS... William Kennington via Bug reports for the GNU Bourne Again SHell
    • Re:... Chet Ramey
      • ... William Kennington via Bug reports for the GNU Bourne Again SHell
        • ... Chet Ramey
          • ... Mike Jonkmans
    • Re:... Martin D Kealey
    • Re:... Andreas Schwab

Reply via email to