From bb21e2531fa9d54b14759cddf4d8f4f831402a2f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 27 Jul 2008 18:28:44 +0000 Subject: following discussion, change fc error message --- Src/builtin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/builtin.c b/Src/builtin.c index 9465bb5a0..19423fb63 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1455,7 +1455,8 @@ bin_fc(char *nam, char **argv, Options ops, int func) last = curhist - 1; if (first > last) { unqueue_signals(); - zwarnnam("fc", "invalid use of current history line"); + zwarnnam("fc", + "current history line would recurse endlessly, aborted"); unlink(fil); return 1; } -- cgit 1.4.1