mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-22 11:51:04 +02:00
Small fix to avoid using slashes in temporary file name (11065)
This commit is contained in:
parent
be2a2590e4
commit
f3be526791
@ -1,3 +1,8 @@
|
||||
2000-05-02 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 11065: Completion/Commands/_complete_debug: small fix to avoid
|
||||
using slashes in temporary file name
|
||||
|
||||
2000-05-02 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
|
||||
|
||||
* 11061: Functions/Misc/zrecompile: make zrecompile detect deleted
|
||||
|
@ -4,7 +4,7 @@ setopt localoptions nullglob rcexpandparam extendedglob
|
||||
unsetopt markdirs globsubst shwordsplit nounset ksharrays
|
||||
|
||||
(( $+_debug_count )) || integer -g _debug_count
|
||||
local tmp=${TMPPREFIX}${$}${words[1]}$[++_debug_count]
|
||||
local tmp=${TMPPREFIX}${$}${words[1]:t}$[++_debug_count]
|
||||
local w="${(qqq)words}"
|
||||
|
||||
[[ -t 2 ]] && exec 3>&2 2>| $tmp
|
||||
|
Loading…
Reference in New Issue
Block a user