From 495249342e38606e9aaece1c94276f0dfeb5e5e0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 19 Jul 2000 20:43:51 +0000 Subject: Removed call to remhist(). --- Src/builtin.c | 2 -- Src/exec.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/Src/builtin.c b/Src/builtin.c index 6b5ca4e8e..7dd9317b1 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1208,8 +1208,6 @@ bin_fc(char *nam, char **argv, char *ops, int func) savehistfile(*argv, 1, HFILE_APPEND | (ops['I'] ? HFILE_SKIPOLD : 0)); return 0; } - if (!(ops['l'] && unset(HISTNOSTORE))) - remhist(); /* put foo=bar type arguments into the substitution list */ while (*argv && equalsplit(*argv, &s)) { Asgment a = (Asgment) zhalloc(sizeof *a); diff --git a/Src/exec.c b/Src/exec.c index 7896bb3a0..027c11ca2 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3120,8 +3120,6 @@ execfuncdef(Estate state, int do_exec) } shfunctab->addnode(shfunctab, ztrdup(s), shf); } - if (isset(HISTNOFUNCTIONS)) - remhist(); state->pc = end; return 0; } -- cgit 1.4.1