about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-27 18:28:44 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-27 18:28:44 +0000
commitbb21e2531fa9d54b14759cddf4d8f4f831402a2f (patch)
tree251a3f6bbc6ff6e54e674f69113f8a1e05622056 /Src/builtin.c
parent897e8085ba81d85e00226713e65ae71e60f9f3e2 (diff)
downloadzsh-bb21e2531fa9d54b14759cddf4d8f4f831402a2f.tar.gz
zsh-bb21e2531fa9d54b14759cddf4d8f4f831402a2f.tar.xz
zsh-bb21e2531fa9d54b14759cddf4d8f4f831402a2f.zip
following discussion, change fc error message
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c3
1 files changed, 2 insertions, 1 deletions
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;
 		}