From 546c28ba38f70ca66b6ce522df97645d9d5cefb9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 18 Mar 1999 12:57:03 +0000 Subject: [PATCH] Minor fix. --- CHANGELOG | 2 ++ client/client.c | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2793503..39ce4af 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ Possible compatibility problems with earlier versions marked with '*'. +Fixed bug in Explain for Category TargetInfo. + Added support for GNU readline in client. Thanks to Jacob Poulsen . GNU configure attempts to detect if readline is available. diff --git a/client/client.c b/client/client.c index 8ebfbcb..9e0fd13 100644 --- a/client/client.c +++ b/client/client.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: client.c,v $ - * Revision 1.77 1999-03-11 15:26:51 adam + * Revision 1.78 1999-03-18 12:57:18 adam + * Minor fix. + * + * Revision 1.77 1999/03/11 15:26:51 adam * Fixed bug (introduced by previous commit). * * Revision 1.76 1999/03/11 11:12:07 adam @@ -1907,7 +1910,7 @@ static int client(int wait) char* line_in; line_in=readline(C_PROMPT); #if HAVE_READLINE_HISTORY_H - if (line && *line_in) + if (line_in && *line_in) add_history(line_in); #endif strcpy(line,line_in); -- 1.7.10.4