Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit PR/46942: Steffen Nurpmeso: editline(3): el_get(...
details: https://anonhg.NetBSD.org/src/rev/0ac3e27aff8e
branches: trunk
changeset: 781501:0ac3e27aff8e
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 11 11:58:53 2012 +0000
description:
PR/46942: Steffen Nurpmeso: editline(3): el_get(): fix UNBUFFERED return
diffstat:
lib/libedit/el.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0b99a38d7300 -r 0ac3e27aff8e lib/libedit/el.c
--- a/lib/libedit/el.c Tue Sep 11 11:57:18 2012 +0000
+++ b/lib/libedit/el.c Tue Sep 11 11:58:53 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: el.c,v 1.70 2012/03/11 21:14:56 christos Exp $ */
+/* $NetBSD: el.c,v 1.71 2012/09/11 11:58:53 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
#else
-__RCSID("$NetBSD: el.c,v 1.70 2012/03/11 21:14:56 christos Exp $");
+__RCSID("$NetBSD: el.c,v 1.71 2012/09/11 11:58:53 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -439,7 +439,7 @@
break;
case EL_UNBUFFERED:
- *va_arg(ap, int *) = (!(el->el_flags & UNBUFFERED));
+ *va_arg(ap, int *) = (el->el_flags & UNBUFFERED) != 0;
rv = 0;
break;
Home |
Main Index |
Thread Index |
Old Index