Fixed typo in a comment.
Deleted bogus comment. Added debugging support.
This commit is contained in:
parent
d380647739
commit
5ed0aefc67
|
@ -259,17 +259,25 @@ int
|
|||
xf86BlockSIGIO (void)
|
||||
{
|
||||
sigset_t set, old;
|
||||
|
||||
int ret;
|
||||
|
||||
sigemptyset (&set);
|
||||
sigaddset (&set, SIGIO);
|
||||
sigprocmask (SIG_BLOCK, &set, &old);
|
||||
return sigismember (&old, SIGIO);
|
||||
ret = sigismember (&old, SIGIO);
|
||||
#ifdef DEBUG
|
||||
ErrorF("%i = xf86BlockSIGIO()\n",ret);
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
void
|
||||
xf86UnblockSIGIO (int wasset)
|
||||
{
|
||||
sigset_t set;
|
||||
#ifdef DEBUG
|
||||
ErrorF("xf86UnblockSIGIO(%i)\n",wasset);
|
||||
#endif
|
||||
|
||||
if (!wasset)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue