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,v


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/src/sysdep.c,v
Date: Sun, 20 May 2007 02:32:30 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  07/05/20 02:32:29

Index: sysdep.c
===================================================================
RCS file: /sources/emacs/emacs/src/sysdep.c,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -b -r1.279 -r1.280
--- sysdep.c    20 Apr 2007 21:36:46 -0000      1.279
+++ sysdep.c    20 May 2007 02:32:29 -0000      1.280
@@ -1675,6 +1675,14 @@
       old_fcntl_owner = fcntl (input_fd, F_GETOWN, 0);
       fcntl (input_fd, F_SETOWN, getpid ());
       init_sigio (input_fd);
+#ifdef HAVE_GPM_H
+      if (term_gpm)
+       {
+         fcntl (gpm_fd, F_SETOWN, getpid ());
+         fcntl (gpm_fd, F_SETFL, O_NONBLOCK);
+         init_sigio (gpm_fd);
+       }
+#endif /* HAVE_GPM_H */
     }
 #endif /* F_GETOWN */
 #endif /* F_SETOWN_BUG */




reply via email to

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