From aff4313b12df835e32b767aa8b1a1c4013514a44 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 13 May 2004 17:08:03 +0000 Subject: 19936: zcalc temp history file name --- ChangeLog | 5 +++++ Functions/Misc/zcalc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a410e6ec8..d7a7ff24b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-13 Peter Stephenson + + * 19936: Functions/Misc/zcalc: bad name for temporary history + file invites clashes. + 2004-05-12 Peter Stephenson * 19920 modified c.f. 19921: Src/mem.c: attempt to improve diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index e8a28f9d1..37e06557c 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -87,8 +87,8 @@ emulate -L zsh setopt extendedglob # can't be local since required in EXIT trap -zcalc_orighist=$HISTFILE -local temphist=${TMPPREFIX}hist SAVEHIST=$HISTSIZE +zcalc_orighist=$HISTFILE +local temphist=${TMPPREFIX}zcalc_hist.$$ SAVEHIST=$HISTSIZE HISTFILE=$temphist fc -W -- cgit 1.4.1