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: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/sysdep.c
Date: Mon, 29 Nov 2004 09:45:11 -0500

Index: emacs/src/sysdep.c
diff -c emacs/src/sysdep.c:1.259 emacs/src/sysdep.c:1.260
*** emacs/src/sysdep.c:1.259    Thu Nov 25 20:01:39 2004
--- emacs/src/sysdep.c  Mon Nov 29 14:39:09 2004
***************
*** 3285,3291 ****
        if (rtnval == -1)
        {
          if (errno == EINTR)
!           { QUIT; continue; }
          else
            return (bytes_written ? bytes_written : -1);
        }
--- 3285,3299 ----
        if (rtnval == -1)
        {
          if (errno == EINTR)
!           {
! #ifdef SYNC_INPUT
!             /* I originally used `QUIT' but that might causes files to
!                be truncated if you hit C-g in the middle of it.  --Stef  */
!             if (interrupt_input_pending)
!               handle_async_input ();
! #endif
!             continue;
!           }
          else
            return (bytes_written ? bytes_written : -1);
        }




reply via email to

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