1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

Temporary fix for the MS-Windows build broken by last commit.

src/minibuf.c (read_minibuf_noninteractive) [WINDOWSNT]: Don't
 reference termios structure members.

Fixes: debbugs:17839
This commit is contained in:
Eli Zaretskii 2014-07-11 12:56:58 +03:00
parent 0e02d309ef
commit 8f4fc468ca
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-07-11 Eli Zaretskii <eliz@gnu.org>
* minibuf.c (read_minibuf_noninteractive) [WINDOWSNT]: Don't
reference termios structure members.
2014-07-11 Michael Albinus <michael.albinus@gmx.de>
* sysdep.c (emacs_get_tty, emacs_set_tty): Make them externally visible.

View File

@ -240,8 +240,10 @@ read_minibuf_noninteractive (Lisp_Object map, Lisp_Object initial,
{
emacs_get_tty (fileno (stdin), &old);
new = old;
#ifndef WINDOWSNT
new.main.c_lflag &= ~ICANON; /* Disable buffering */
new.main.c_lflag &= ~ECHO; /* Disable echoing */
#endif
emacs_set_tty (fileno (stdin), &new, 0);
}