bitsmanent / snore

sleep with feedback
MIT License
73 stars 11 forks source link

snore SIGSEGVs with long times #4

Closed paride closed 7 years ago

paride commented 7 years ago

For example:

$ ./snore 26000d
fish: “./snore 26000d” terminated by signal SIGSEGV (Address boundary error)

I know the time is not very reasonable, but sleep handles it fine, and SIGSEGVs are never nice.

bitsmanent commented 7 years ago

I bound the upper limit to UINT_MAX (962f4eded6effdc8474928ec02e3ca9e33ed753f). This works but let's see if there are better solutions.