User: malcolmp
Date: 05/12/18 12:44:31
Modified: xemacs/src ChangeLog console.c
Log:
console.c (stuff_buffered_input): Compile body only if HAVE_TTY.
Revision Changes Path
1.906 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.905
retrieving revision 1.906
diff -u -p -r1.905 -r1.906
--- ChangeLog 2005/12/18 10:59:12 1.905
+++ ChangeLog 2005/12/18 11:44:26 1.906
@@ -1,3 +1,8 @@
+2005-12-14 Malcolm Purvis <malcolmp(a)xemacs.org>
+
+ * console.c (stuff_buffered_input): Compile body only if
+ HAVE_TTY.
+
2005-12-18 Aidan Kehoe <kehoea(a)parhasard.net>
* chartab.c (Fmake_char_table):
1.46 +3 -3 XEmacs/xemacs/src/console.c
Index: console.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/console.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- console.c 2005/11/25 01:41:58 1.45
+++ console.c 2005/12/18 11:44:28 1.46
@@ -990,7 +990,7 @@ On such systems, Emacs will start a subs
void
stuff_buffered_input (
-#ifdef BSD
+#if defined(BSD) && defined(HAVE_TTY)
Lisp_Object stuffstring
#else
Lisp_Object UNUSED (stuffstring)
@@ -998,7 +998,7 @@ stuff_buffered_input (
)
{
/* stuff_char works only in BSD, versions 4.2 and up. */
-#if defined (BSD)
+#if defined(BSD) && defined(HAVE_TTY)
if (!CONSOLEP (Vcontrolling_terminal) ||
!CONSOLE_LIVE_P (XCONSOLE (Vcontrolling_terminal)))
return;
@@ -1024,7 +1024,7 @@ stuff_buffered_input (
stuff_char (XCONSOLE (Vcontrolling_terminal), *kbd_fetch_ptr++);
}
# endif
-#endif /* BSD */
+#endif /* BSD && HAVE_TTY */
}
DEFUN ("suspend-console", Fsuspend_console, 0, 1, "", /*