ref: c10be29c773737c4159b613f4f6c3b5a90d732f6
parent: 120713c21634a21798576d701b6ebecf20245810
author: cinap_lenrek <[email protected]>
date: Sun Dec 18 20:56:37 EST 2022
sleep: good night. ; (0x7fffffff/1000)*1000 + 999 0x8000015f oh no! ; 0x80000000-1024 0x7ffffc00 ; (0x7ffffc00/1000)*1000 + 999 0x7ffffd77 fixed.
--- a/sys/src/cmd/sleep.c
+++ b/sys/src/cmd/sleep.c
@@ -4,7 +4,7 @@
void
main(int argc, char *argv[])
{
- enum { MAXSEC = 0x7fffffff/1000 };
+ enum { MAXSEC = 0x7ffffc00/1000 };
long n, m;
char *p, *q;