about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/builtin.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2356b734a..cd22cf31e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-27  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* following discussion: Src/builtin.c: chnage error message in
+	25338.
+
 2008-07-25  Peter Stephenson  <pws@csr.com>
 
 	* 25338: Src/builtin.c: disallow fc editing of the current
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;
 		}