HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b2d1ffb
)
(init_sys_modes): Add rather than replace with
author
Nick Roberts
<nickrob@snap.net.nz>
Wed, 30 May 2007 05:24:18 +0000
(
05:24
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Wed, 30 May 2007 05:24:18 +0000
(
05:24
+0000)
O_NONBLOCK.
src/sysdep.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
202cab4
..
95ad90c
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-1679,7
+1679,7
@@
init_sys_modes ()
if (term_gpm)
{
fcntl (gpm_fd, F_SETOWN, getpid ());
- fcntl (gpm_fd, F_SETFL, O_NONBLOCK);
+ fcntl (gpm_fd, F_SETFL,
fcntl (gpm_fd, F_GETFL, 0) |
O_NONBLOCK);
init_sigio (gpm_fd);
}
#endif /* HAVE_GPM */