mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-23 17:01:05 +02:00
19936: zcalc temp history file name
This commit is contained in:
parent
8723d530b3
commit
aff4313b12
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2004-05-12 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* 19920 modified c.f. 19921: Src/mem.c: attempt to improve
|
* 19920 modified c.f. 19921: Src/mem.c: attempt to improve
|
||||||
|
|
|
@ -88,7 +88,7 @@ setopt extendedglob
|
||||||
|
|
||||||
# can't be local since required in EXIT trap
|
# can't be local since required in EXIT trap
|
||||||
zcalc_orighist=$HISTFILE
|
zcalc_orighist=$HISTFILE
|
||||||
local temphist=${TMPPREFIX}hist SAVEHIST=$HISTSIZE
|
local temphist=${TMPPREFIX}zcalc_hist.$$ SAVEHIST=$HISTSIZE
|
||||||
HISTFILE=$temphist
|
HISTFILE=$temphist
|
||||||
fc -W
|
fc -W
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue