From 0804c970f7c9926167055fd77cfc8a72c7271fa6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 8 Apr 2002 11:40:41 +0000 Subject: [PATCH] Fix for old readline --- client/client.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/client.c b/client/client.c index 035862d..07b00d9 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.147 2002-03-20 14:35:42 adam Exp $ + * $Id: client.c,v 1.148 2002-04-08 11:40:41 adam Exp $ */ #include @@ -89,6 +89,11 @@ static QueryType queryType = QueryType_Prefix; static CCL_bibset bibset; /* CCL bibset handle */ #endif +#if HAVE_READLINE_READLINE_H +#ifndef RL_READLINE_VERSION +int rl_attempted_completion_over = 0; +#endif +#endif /* set this one to 1, to avoid decode of unknown MARCs */ #define AVOID_MARC_DECODE 1 -- 1.7.10.4