rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 22c687beb012235050097daf2571057c5a1245a1
parent 8c60612f7636704f3c6acbccf3daa1358b17f077
Author: tjg <tjg>
Date:   Fri,  4 Dec 1998 17:36:25 +0000

  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.

Diffstat:
Mhistory.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;