From: Adam Dickmeiss Date: Mon, 8 Apr 2002 11:40:41 +0000 (+0000) Subject: Fix for old readline X-Git-Tag: YAZ.1.8.7.CCL~28 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=0804c970f7c9926167055fd77cfc8a72c7271fa6;p=yaz-moved-to-github.git Fix for old readline --- 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