1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

19936: zcalc temp history file name

This commit is contained in:
Peter Stephenson 2004-05-13 17:08:03 +00:00
parent 8723d530b3
commit aff4313b12
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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