diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-05-13 17:08:03 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-05-13 17:08:03 +0000 |
commit | aff4313b12df835e32b767aa8b1a1c4013514a44 (patch) | |
tree | c04595d841aec3c0b63c1bee2ac06572c1682b2b | |
parent | 8723d530b3f7321109e865b09d6ecc00b4a9f4ed (diff) | |
download | zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.tar.gz zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.tar.xz zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.zip |
19936: zcalc temp history file name
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | 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 <pws@csr.com> + + * 19936: Functions/Misc/zcalc: bad name for temporary history + file invites clashes. + 2004-05-12 Peter Stephenson <pws@csr.com> * 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 |