Closed ghost closed 4 years ago
For what it's worth, I pushed commit 1f377e40d8d673a0a02d5b3bb16b38cd40527cbd which happens when printf is asked to operate on a 64 bit integer with a specified field size and the integer is too large (ie., would hang in this code if asked to sleep for more than 100 hours.)
In
sleep
, countdown works correctly up to 1 minute and then shows "raw" seconds: If there are more than 99 seconds to wait, the countdown does not display.This change adds a correct countdown which works up to 99 hours:
I also added
h
suffix for hours.