emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/sysdep.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/sysdep.c
Date: Thu, 11 Jul 2002 13:30:21 -0400

Index: emacs/src/sysdep.c
diff -c emacs/src/sysdep.c:1.236 emacs/src/sysdep.c:1.237
*** emacs/src/sysdep.c:1.236    Thu Jun 13 10:57:52 2002
--- emacs/src/sysdep.c  Thu Jul 11 13:29:56 2002
***************
*** 2816,2825 ****
    struct sigaction new_action, old_action;
    sigemptyset (&new_action.sa_mask);
    new_action.sa_handler = action;
! #ifdef SA_RESTART
    /* Emacs mostly works better with restartable system services. If this
!    * flag exists, we probably want to turn it on here.
!    */
    new_action.sa_flags = SA_RESTART;
  #else
    new_action.sa_flags = 0;
--- 2816,2827 ----
    struct sigaction new_action, old_action;
    sigemptyset (&new_action.sa_mask);
    new_action.sa_handler = action;
! #if defined (SA_RESTART) && ! defined (BROKEN_SA_RESTART)
    /* Emacs mostly works better with restartable system services. If this
!      flag exists, we probably want to turn it on here.
!      However, on some systems this resets the timeout of `select'
!      which means that `select' never finishes if it keeps getting signals.
!      BROKEN_SA_RESTART is defined on those systems.  */
    new_action.sa_flags = SA_RESTART;
  #else
    new_action.sa_flags = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]