sh: Fix shadowing of sigset.

This commit is contained in:
Jilles Tjoelker 2010-08-13 13:36:18 +00:00
parent a7834bac09
commit 92378cce77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211281

View File

@ -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.