Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 06/18/1999 01:54:29
Module Name: basesrc
Committed By: cgd
Date: Fri Jun 18 08:54:29 UTC 1999
Modified Files:
basesrc/distrib/utils/sysinst: main.c
Log Message:
* hitting control-c (causing SIGINTR) would cause the SIGINTR handler to
be called. it'd cleanup() then exit(). however, cleanup() is scheduled
to run at exit via atexit(). This means that it gets run twice, and
this causes confusion for things like endwin(). The end result is
that rather than actually exiting and printing the "sysinst terminated"
message, after one control-c it looks like it's still sitting at the
last screen you were viewing even though it's actually at a shell prompt.
squelch the cleanup() in the SIGINTR handler to avoid this problem.
* while here, nuke the annoying space before the "sysinst terminated."
message. it looks bad, and serves no purpose.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/distrib/utils/sysinst/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.