Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 127411 | Differences between
and this patch

Collapse All | Expand All

(-)mc-4.6.1/src/cons.saver.c.old (-1 / +1 lines)
Lines 134-140 Link Here
134
134
135
  if (seteuid (uid) < 0)
135
  if (seteuid (uid) < 0)
136
    die ();
136
    die ();
137
  console_fd = open (tty_name, O_RDONLY);
137
  console_fd = open (tty_name, O_RDONLY | O_NONBLOCK);
138
  if (console_fd < 0)
138
  if (console_fd < 0)
139
    die ();
139
    die ();
140
  if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode))
140
  if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode))

Return to bug 127411