mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
as wkj pointed out, notifyseton should not call notesetenable
This commit is contained in:
parent
17cdbb909b
commit
10b4555766
1 changed files with 0 additions and 2 deletions
|
@ -206,8 +206,6 @@ notifyseton(int s, int on)
|
||||||
sig = findsig(s);
|
sig = findsig(s);
|
||||||
if(sig == nil)
|
if(sig == nil)
|
||||||
return;
|
return;
|
||||||
if(on)
|
|
||||||
notesetenable(s, 1);
|
|
||||||
memset(&sa, 0, sizeof sa);
|
memset(&sa, 0, sizeof sa);
|
||||||
sa.sa_handler = on ? signotify : signonotify;
|
sa.sa_handler = on ? signotify : signonotify;
|
||||||
if(sig->restart)
|
if(sig->restart)
|
||||||
|
|
Loading…
Reference in a new issue