$SECONDS and timeout values use realtime `gettimeofday()`

2023-03-23 Thread William Kennington via Bug reports for the GNU Bourne Again SHell
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 usi

Re: $SECONDS and timeout values use realtime `gettimeofday()`

2023-03-24 Thread William Kennington via Bug reports for the GNU Bourne Again SHell
Ramey wrote: > 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 h