mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-19 13:40:38 +02:00
Fixed typo in a comment.
Deleted bogus comment. Added debugging support.
This commit is contained in:
parent
d380647739
commit
5ed0aefc67
1 changed files with 10 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue