From 9f7c4563f78f74999efd94768ec483d8c24c3761 Mon Sep 17 00:00:00 2001 From: "monty@tramp.mysql.fi" <> Date: Tue, 3 Oct 2000 14:18:03 +0300 Subject: First part of automatic repair of MyISAM tables. Error on full disk on repair. SIGHUP signal handling. Update with keys on timestamp Portability fixes --- readline/histexpand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'readline/histexpand.c') diff --git a/readline/histexpand.c b/readline/histexpand.c index 392e6d38d9e..30c6131801d 100644 --- a/readline/histexpand.c +++ b/readline/histexpand.c @@ -200,7 +200,7 @@ get_history_event (string, caller_index, delimiting_quote) } /* Only a closing `?' or a newline delimit a substring search string. */ - for (local_index = i; c = string[i]; i++) + for (local_index = i; (c = string[i]); i++) if ((!substring_okay && (whitespace (c) || c == ':' || (history_search_delimiter_chars && member (c, history_search_delimiter_chars)) || string[i] == delimiting_quote)) || -- cgit v1.2.1