From f7055df57d065ba4f741cc0da1e46b156de29446 Mon Sep 17 00:00:00 2001 From: millert Date: Sun, 15 Mar 2015 00:41:27 +0000 Subject: tzfile.h is an internal header that should never have been installed. What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ --- usr.bin/script/script.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/script/script.c') diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 056242afc76..83b3cce43cd 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: script.c,v 1.25 2009/10/27 23:59:43 deraadt Exp $ */ +/* $OpenBSD: script.c,v 1.26 2015/03/15 00:41:28 millert Exp $ */ /* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */ /* @@ -69,7 +69,6 @@ #include #include #include -#include #include #include @@ -242,7 +241,7 @@ dooutput(void) sa.sa_handler = scriptflush; (void)sigaction(SIGALRM, &sa, NULL); - value.it_interval.tv_sec = SECSPERMIN / 2; + value.it_interval.tv_sec = 30; value.it_interval.tv_usec = 0; value.it_value = value.it_interval; (void)setitimer(ITIMER_REAL, &value, NULL); -- cgit v1.2.3-59-g8ed1b