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: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/sysdep.c
Date: Thu, 13 Oct 2005 05:29:01 -0400

Index: emacs/src/sysdep.c
diff -c emacs/src/sysdep.c:1.272 emacs/src/sysdep.c:1.273
*** emacs/src/sysdep.c:1.272    Fri Sep 23 17:06:03 2005
--- emacs/src/sysdep.c  Thu Oct 13 09:29:01 2005
***************
*** 1012,1018 ****
  void
  request_sigio ()
  {
!   if (read_socket_hook)
      return;
  
  #ifdef SIGWINCH
--- 1012,1018 ----
  void
  request_sigio ()
  {
!   if (noninteractive || read_socket_hook)
      return;
  
  #ifdef SIGWINCH
***************
*** 1026,1032 ****
  void
  unrequest_sigio ()
  {
!   if (read_socket_hook)
      return;
  
  #ifdef SIGWINCH
--- 1026,1032 ----
  void
  unrequest_sigio ()
  {
!   if (noninteractive || read_socket_hook)
      return;
  
  #ifdef SIGWINCH
***************
*** 1044,1050 ****
  {
    int on = 1;
  
!   if (read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &on);
--- 1044,1050 ----
  {
    int on = 1;
  
!   if (noninteractive || read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &on);
***************
*** 1056,1062 ****
  {
    int off = 0;
  
!   if (read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &off);
--- 1056,1062 ----
  {
    int off = 0;
  
!   if (noninteractive || read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &off);
***************
*** 1075,1081 ****
    int on = 1;
    sigset_t st;
  
!   if (read_socket_hook)
      return;
  
    sigemptyset (&st);
--- 1075,1081 ----
    int on = 1;
    sigset_t st;
  
!   if (noninteractive || read_socket_hook)
      return;
  
    sigemptyset (&st);
***************
*** 1090,1096 ****
  {
    int off = 0;
  
!   if (read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &off);
--- 1090,1096 ----
  {
    int off = 0;
  
!   if (noninteractive || read_socket_hook)
      return;
  
    ioctl (input_fd, FIOASYNC, &off);
***************
*** 1103,1109 ****
  void
  request_sigio ()
  {
!   if (read_socket_hook)
      return;
  
    croak ("request_sigio");
--- 1103,1109 ----
  void
  request_sigio ()
  {
!   if (noninteractive || read_socket_hook)
      return;
  
    croak ("request_sigio");
***************
*** 1112,1118 ****
  void
  unrequest_sigio ()
  {
!   if (read_socket_hook)
      return;
  
    croak ("unrequest_sigio");
--- 1112,1118 ----
  void
  unrequest_sigio ()
  {
!   if (noninteractive || read_socket_hook)
      return;
  
    croak ("unrequest_sigio");
***************
*** 2235,2246 ****
--- 2235,2250 ----
  void
  request_sigio ()
  {
+   if (noninteractive)
+     return;
    croak ("request sigio");
  }
  
  void
  unrequest_sigio ()
  {
+   if (noninteractive)
+     return;
    croak ("unrequest sigio");
  }
  
***************
*** 2775,2780 ****
--- 2779,2786 ----
  void
  request_sigio ()
  {
+   if (noninteractive)
+     return;
    sigrelse (SIGTINT);
  
    interrupts_deferred = 0;
***************
*** 2783,2788 ****
--- 2789,2796 ----
  void
  unrequest_sigio ()
  {
+   if (noninteractive)
+     return;
    sighold (SIGTINT);
  
    interrupts_deferred = 1;




reply via email to

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