In these days, waiting one full second for more to appear is far too long.

Let's try 250ms.
This commit is contained in:
Poul-Henning Kamp 1997-09-14 19:02:13 +00:00
parent acb902182f
commit a3dd501081
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29402

View File

@ -178,8 +178,8 @@ forward(fp, style, off, sbp)
break;
/* Sleep(3) is eight system calls. Do it fast. */
second.tv_sec = 1;
second.tv_usec = 0;
second.tv_sec = 0;
second.tv_usec = 250000;
if (select(0, NULL, NULL, NULL, &second) == -1)
if (errno != EINTR)
err(1, "select");