Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst during timezone selection, only update...



details:   https://anonhg.NetBSD.org/src/rev/0a5cf7215dfe
branches:  trunk
changeset: 537721:0a5cf7215dfe
user:      grant <grant%NetBSD.org@localhost>
date:      Sat Oct 05 02:41:54 2002 +0000

description:
during timezone selection, only update the clock once per minute. once
per second is painful and annoying over a serial line.

diffstat:

 distrib/utils/sysinst/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6e3178de3dae -r 0a5cf7215dfe distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Sat Oct 05 01:21:40 2002 +0000
+++ b/distrib/utils/sysinst/util.c      Sat Oct 05 02:41:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.73 2002/07/29 03:05:17 grant Exp $  */
+/*     $NetBSD: util.c,v 1.74 2002/10/05 02:41:54 grant Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -936,7 +936,7 @@
 timezone_sig(int sig)
 {
        set_timezone_select(NULL);
-       alarm(1);
+       alarm(60);
 }
 
 /*



Home | Main Index | Thread Index | Old Index