This is the mail archive of the
mailing list for the Cygwin project.
change bc to use readline
- From: Philip Nemec <panemec at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Feb 2003 14:41:53 -0800
- Subject: change bc to use readline
I recently installed another fresh copy of cygwin and was reminded of a
complaint I have with bc...
It doesn't ship with readline support built in - and the source doesn't
ship in a way that builds.
To get bc to compile (grabbing source using setup - the simple case):
* scan.l -- comment out the proto for readline: _PROTOTYPE(char
*readline, (char *));
* configure --with-readline
At the very least I'd like to see this patch applied to the source (so
at least readline support is easy to compile in).
> diff -pu scan.l.orig scan.l
--- scan.l.orig 2003-02-27 14:40:03.000000000 -0800
+++ scan.l 2003-02-27 14:40:12.000000000 -0800
@@ -143,7 +143,7 @@ static int rl_len = 0;
/* Definitions for readline access. */
extern FILE *rl_instream;
-_PROTOTYPE(char *readline, (char *));
+/* _PROTOTYPE(char *readline, (char *)); */
/* rl_input puts upto MAX characters into BUF with the number put in
BUF placed in *RESULT. If the yy input file is the same as
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html