summaryrefslogtreecommitdiff
path: root/devel/gdb6/patches/patch-bb
blob: 9ce70bdc5ce47a173522192880ccca88fca182ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bb,v 1.1 2005/10/20 17:48:49 wiz Exp $

--- readline/rltty.c.orig	2004-06-01 09:01:39.000000000 -0600
+++ readline/rltty.c
@@ -619,6 +619,9 @@ prepare_terminal_settings (meta_flag, ol
      just to be sure.  This includes ^Y and ^V.  This should not really
      be necessary.  */
 #if defined (TERMIOS_TTY_DRIVER) && defined (_POSIX_VDISABLE)
+#if defined (VDISCARD)
+  tiop->c_cc[VDISCARD] = _POSIX_VDISABLE;
+#endif
 
 #if defined (VLNEXT)
   tiop->c_cc[VLNEXT] = _POSIX_VDISABLE;