mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
sh: Fix shadowing of sigset.
This commit is contained in:
parent
a7834bac09
commit
92378cce77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211281
@ -102,7 +102,7 @@ exraise(int e)
|
||||
void
|
||||
onint(void)
|
||||
{
|
||||
sigset_t sigset;
|
||||
sigset_t sigs;
|
||||
|
||||
/*
|
||||
* The !in_dotrap here is safe. The only way we can arrive here
|
||||
@ -115,8 +115,8 @@ onint(void)
|
||||
return;
|
||||
}
|
||||
intpending = 0;
|
||||
sigemptyset(&sigset);
|
||||
sigprocmask(SIG_SETMASK, &sigset, NULL);
|
||||
sigemptyset(&sigs);
|
||||
sigprocmask(SIG_SETMASK, &sigs, NULL);
|
||||
|
||||
/*
|
||||
* This doesn't seem to be needed, since main() emits a newline.
|
||||
|
Loading…
Reference in New Issue
Block a user