From a3dd501081da104602684c3041f96f6edb57dd96 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 14 Sep 1997 19:02:13 +0000 Subject: [PATCH] In these days, waiting one full second for more to appear is far too long. Let's try 250ms. --- usr.bin/tail/forward.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index b9457afbb0cf..dd754189d843 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -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");