f5551576e3
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1108 6952d904-891a-0410-993b-d76249ca496b
12 lines
394 B
Diff
12 lines
394 B
Diff
--- mc-4.6.1/src/cons.saver.c.old 2006-04-30 20:45:11.725128977 +0200
|
|
+++ mc-4.6.1/src/cons.saver.c 2006-04-30 20:45:55.545063247 +0200
|
|
@@ -134,7 +134,7 @@
|
|
|
|
if (seteuid (uid) < 0)
|
|
die ();
|
|
- console_fd = open (tty_name, O_RDONLY);
|
|
+ console_fd = open (tty_name, O_RDONLY | O_NONBLOCK);
|
|
if (console_fd < 0)
|
|
die ();
|
|
if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode))
|