|Date:||Sun, 15 Jul 2018 02:50:53 +0200|
|Subject:||[PATCH] win32: sleep() warns and it doesn't really sleep forever|
|From:||Tomasz Konojacki <me [...] xenu.pl>|
|To:||perlbug [...] perl.org|
Under windows, sleep() called with no arguments triggers the following warning: Show quoted text
>perl -Mwarnings -E "sleep"sleep(2147450879) too large at -e line 1. Additionally, it sleeps for just 4262198 seconds (~50 days) instead of forever. I have implemented win32_pause() which will fix the above problems, the patch will follow.