(__sigreturn): Use SS_ONSTACK instead of SA_ONSTACK.

This commit is contained in:
Ulrich Drepper 1998-08-08 19:55:32 +00:00
parent 197b1bfd03
commit e66186b39d
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* Return from signal handler in GNU C library for Hurd. Alpha version.
Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -65,7 +65,7 @@ __sigreturn (struct sigcontext *scp)
if (scp->sc_onstack)
{
ss->sigaltstack.ss_flags &= ~SA_ONSTACK; /* XXX threadvars */
ss->sigaltstack.ss_flags &= ~SS_ONSTACK; /* XXX threadvars */
/* XXX cannot unlock until off sigstack */
abort ();
}

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -64,7 +64,7 @@ __sigreturn (struct sigcontext *scp)
if (scp->sc_onstack)
{
ss->sigaltstack.ss_flags &= ~SA_ONSTACK; /* XXX threadvars */
ss->sigaltstack.ss_flags &= ~SS_ONSTACK; /* XXX threadvars */
/* XXX cannot unlock until off sigstack */
abort ();
}