summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-09-14 19:02:13 +0000
committerphk <phk@FreeBSD.org>1997-09-14 19:02:13 +0000
commita4e52dd09badd46f433280f9b392cff71bc7ddfe (patch)
tree644a1416ad54ee7ad88f39bf59da6f72be22a2f9 /usr.bin
parente7c3d728c1e204f878989ecf58b0052b331cc844 (diff)
downloadFreeBSD-src-a4e52dd09badd46f433280f9b392cff71bc7ddfe.zip
FreeBSD-src-a4e52dd09badd46f433280f9b392cff71bc7ddfe.tar.gz
In these days, waiting one full second for more to appear is far too long.
Let's try 250ms.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tail/forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c
index b9457af..dd75418 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");
OpenPOWER on IntegriCloud