summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortjg <tjg>1998-12-04 17:36:25 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:13 +0100
commit22c687beb012235050097daf2571057c5a1245a1 (patch)
tree44864133ba890161fcafcb11512b119a2b951722
parent8c60612f7636704f3c6acbccf3daa1358b17f077 (diff)
Bug: a debugging statement was left in history.c by mistake.
Bug: `history' needs to check for `me' character preceded by `/', as well as all the other options. An invocation like ../rc-1.5/- no longer loops.
-rw-r--r--history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/history.c b/history.c
index a4d3016..629751d 100644
--- a/history.c
+++ b/history.c
@@ -257,6 +257,7 @@ again: s = last;
case '`': case '@':
case '(': case ')':
case '{': case '|':
+ case '/':
goto again;
default:
break;
@@ -275,7 +276,6 @@ int main(int argc, char **argv) {
s++;
editit = TRUE;
}
-editit = TRUE;
if (*s == 'p') {
s++;
printit = TRUE;