Ignores a couple of signals.
This commit is contained in:
parent
1499a845ff
commit
b247ab3061
|
@ -88,6 +88,8 @@ int main(int argc,char**argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/* fprintf(stderr,"Successfully mapped DOS memory, entering vm86 loop\n"); */
|
/* fprintf(stderr,"Successfully mapped DOS memory, entering vm86 loop\n"); */
|
||||||
|
signal(SIGHUP,SIG_IGN);
|
||||||
|
signal(SIGINT,SIG_IGN);
|
||||||
/* report back to the main program that we're ready */
|
/* report back to the main program that we're ready */
|
||||||
ret=0;
|
ret=0;
|
||||||
write(1,&ret,sizeof(ret));
|
write(1,&ret,sizeof(ret));
|
||||||
|
|
Loading…
Reference in New Issue