aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6129fdd26c8..a6f43d216ff 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#define BLOCKINPUT_INLINE EXTERN_INLINE 23#define BLOCKINPUT_INLINE EXTERN_INLINE
24#define KEYBOARD_INLINE EXTERN_INLINE 24#define KEYBOARD_INLINE EXTERN_INLINE
25 25
26#include <stdio.h> 26#include "sysstdio.h"
27 27
28#include "lisp.h" 28#include "lisp.h"
29#include "termchar.h" 29#include "termchar.h"
@@ -2289,7 +2289,6 @@ read_event_from_main_queue (EMACS_TIME *end_time,
2289 XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL)); 2289 XSETINT (c, XINT (c) | (extra_keyboard_modifiers & ~0xff7f & ~CHAR_CTL));
2290 } 2290 }
2291 2291
2292 /* FIXME: Decode tty keyboard input here. */
2293 return c; 2292 return c;
2294} 2293}
2295 2294
@@ -7035,7 +7034,7 @@ tty_read_avail_input (struct terminal *terminal,
7035 { 7034 {
7036 nread = emacs_read (fileno (tty->input), (char *) cbuf, n_to_read); 7035 nread = emacs_read (fileno (tty->input), (char *) cbuf, n_to_read);
7037 /* POSIX infers that processes which are not in the session leader's 7036 /* POSIX infers that processes which are not in the session leader's
7038 process group won't get SIGHUP's at logout time. BSDI adheres to 7037 process group won't get SIGHUPs at logout time. BSDI adheres to
7039 this part standard and returns -1 from read (0) with errno==EIO 7038 this part standard and returns -1 from read (0) with errno==EIO
7040 when the control tty is taken away. 7039 when the control tty is taken away.
7041 Jeffrey Honig <jch@bsdi.com> says this is generally safe. */ 7040 Jeffrey Honig <jch@bsdi.com> says this is generally safe. */
@@ -10156,7 +10155,7 @@ The file will be closed when Emacs exits. */)
10156 if (!NILP (file)) 10155 if (!NILP (file))
10157 { 10156 {
10158 file = Fexpand_file_name (file, Qnil); 10157 file = Fexpand_file_name (file, Qnil);
10159 dribble = fopen (SSDATA (file), "w"); 10158 dribble = emacs_fopen (SSDATA (file), "w");
10160 if (dribble == 0) 10159 if (dribble == 0)
10161 report_file_error ("Opening dribble", Fcons (file, Qnil)); 10160 report_file_error ("Opening dribble", Fcons (file, Qnil));
10162 } 10161 }