changeset 95063:b309a7cbf6e1

(child_setup_tty): Handle systems with NLDLY, without FFDLY.
author Glenn Morris <rgm@gnu.org>
date Sat, 17 May 2008 20:06:42 +0000
parents c876006d2de2
children b5f69b7c5d16
files src/sysdep.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sat May 17 20:00:41 2008 +0000
+++ b/src/sysdep.c	Sat May 17 20:06:42 2008 +0000
@@ -600,8 +600,15 @@
   s.main.c_oflag |= OPOST;	/* Enable output postprocessing */
   s.main.c_oflag &= ~ONLCR;	/* Disable map of NL to CR-NL on output */
 #ifdef NLDLY
+  /* http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00406.html
+     Some versions of GNU Hurd do not have FFDLY?  */
+#ifdef FFDLY
   s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
   				/* No output delays */
+#else
+  s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY);
+  				/* No output delays */
+#endif
 #endif
   s.main.c_lflag &= ~ECHO;	/* Disable echo */
   s.main.c_lflag |= ISIG;	/* Enable signals */