Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit Fix something that's been annoying me for a whil...
details: https://anonhg.NetBSD.org/src/rev/1ac2b873a531
branches: trunk
changeset: 551850:1ac2b873a531
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sat Sep 13 04:18:00 2003 +0000
description:
Fix something that's been annoying me for a while...
Pull in <fcntl.h>, so that the fcntl #defines are present, and we build in the
automatic reset of non-blocking mode, rather than beeping like mad.
diffstat:
lib/libedit/read.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6c27c9091398 -r 1ac2b873a531 lib/libedit/read.c
--- a/lib/libedit/read.c Sat Sep 13 03:44:20 2003 +0000
+++ b/lib/libedit/read.c Sat Sep 13 04:18:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.26 2003/08/07 16:44:32 agc Exp $ */
+/* $NetBSD: read.c,v 1.27 2003/09/13 04:18:00 mycroft Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: read.c,v 1.26 2003/08/07 16:44:32 agc Exp $");
+__RCSID("$NetBSD: read.c,v 1.27 2003/09/13 04:18:00 mycroft Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -46,6 +46,7 @@
* Terminal read functions
*/
#include <errno.h>
+#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include "el.h"
Home |
Main Index |
Thread Index |
Old Index