comparison src/sysdep.c @ 624:2bb7f23b7ea5

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Fri, 01 May 1992 06:20:46 +0000
parents eca8812e61cd
children 40b255f55df3
comparison
equal deleted inserted replaced
623:347a8db13650 624:2bb7f23b7ea5
636 #ifdef FASYNC /* F_SETFL does not imply existance of FASYNC */ 636 #ifdef FASYNC /* F_SETFL does not imply existance of FASYNC */
637 637
638 request_sigio () 638 request_sigio ()
639 { 639 {
640 #ifdef SIGWINCH 640 #ifdef SIGWINCH
641 sigunblock (sigmask (SIGWINCH)); 641 {
642 int dummy;
643
644 EMACS_SIGUNBLOCKX (SIGWINCH, dummy);
645 }
642 #endif 646 #endif
643 fcntl (0, F_SETFL, old_fcntl_flags | FASYNC); 647 fcntl (0, F_SETFL, old_fcntl_flags | FASYNC);
644 648
645 interrupts_deferred = 0; 649 interrupts_deferred = 0;
646 } 650 }
647 651
648 unrequest_sigio () 652 unrequest_sigio ()
649 { 653 {
650 #ifdef SIGWINCH 654 #ifdef SIGWINCH
651 sigblock (sigmask (SIGWINCH)); 655 {
656 int dummy;
657
658 EMACS_SIGBLOCK (SIGWINCH, dummy);
659 }
652 #endif 660 #endif
653 fcntl (0, F_SETFL, old_fcntl_flags); 661 fcntl (0, F_SETFL, old_fcntl_flags);
654 interrupts_deferred = 1; 662 interrupts_deferred = 1;
655 } 663 }
656 664