X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fevent-unixoid.c;h=0dc49eaea2e15eda74ef6785faabc53e156baacf;hb=341b931fa7ec4177794ad4ee2089fde2c5ec3c36;hp=9033ebf422f46295d0538bad1426c0b8e54ca4bf;hpb=afa9772e3fcbb4e80e3e4cfd1a40b4fccc6d08b8;p=chise%2Fxemacs-chise.git.1 diff --git a/src/event-unixoid.c b/src/event-unixoid.c index 9033ebf..0dc49ea 100644 --- a/src/event-unixoid.c +++ b/src/event-unixoid.c @@ -71,7 +71,7 @@ int signal_event_pipe_initialized; int fake_event_occurred; int -read_event_from_tty_or_stream_desc (struct Lisp_Event *event, +read_event_from_tty_or_stream_desc (Lisp_Event *event, struct console *con, int fd) { unsigned char ch; @@ -174,7 +174,7 @@ event_stream_unixoid_unselect_console (struct console *con) } static int -get_process_infd (struct Lisp_Process *p) +get_process_infd (Lisp_Process *p) { Lisp_Object instr, outstr; get_process_streams (p, &instr, &outstr); @@ -183,7 +183,7 @@ get_process_infd (struct Lisp_Process *p) } int -event_stream_unixoid_select_process (struct Lisp_Process *proc) +event_stream_unixoid_select_process (Lisp_Process *proc) { int infd = get_process_infd (proc); @@ -194,7 +194,7 @@ event_stream_unixoid_select_process (struct Lisp_Process *proc) } int -event_stream_unixoid_unselect_process (struct Lisp_Process *proc) +event_stream_unixoid_unselect_process (Lisp_Process *proc) { int infd = get_process_infd (proc); @@ -223,9 +223,9 @@ poll_fds_for_input (SELECT_TYPE mask) return retval; if (errno != EINTR) { - /* Something went seriously wrong; don't abort since maybe + /* Something went seriously wrong; don't ABORT since maybe the TTY just died at the wrong time. */ - fprintf (stderr, "xemacs: select failed: errno = %d\n", errno); + stderr_out ("xemacs: select failed: errno = %d\n", errno); return 0; } /* else, we got interrupted by a signal, so try again. */