* pinfo.cc (codepage_init): Move function.

* environ.cc (codepage_init): To here.
* exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration since it
is supposed to be maskable.
* signal.cc (sigaction): Ditto.
* sigproc.cc (wait_sig): Ditto.
* winsup.h: Eliminate global declaration of codepage_init.
This commit is contained in:
Christopher Faylor
2001-01-08 04:02:02 +00:00
parent 10422a10ea
commit 077ec4cb37
17 changed files with 60 additions and 52 deletions

View File

@ -1,6 +1,6 @@
/* signal.cc
Copyright 1996, 1997, 1998, 1999, 2000 Cygnus Solutions.
Copyright 1996, 1997, 1998, 1999, 2000, 2001 Red Hat, Inc.
Written by Steve Chamberlain of Cygnus Support, sac@cygnus.com
Significant changes by Sergey Okhapkin <sos@prospect.com.ru>
@ -262,7 +262,8 @@ sigaction (int sig, const struct sigaction *newact, struct sigaction *oldact)
if (newact)
{
if ((sig == SIGKILL || sig == SIGSTOP) && newact->sa_handler != SIG_DFL)
if ((sig == SIGKILL || sig == SIGSTOP || sig == SIGCONT) &&
newact->sa_handler != SIG_DFL)
{
set_errno (EINVAL);
return -1;