1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

34068: create tempfiles without forking, and safe temp directory creation

This commit is contained in:
Barton E. Schaefer 2014-12-28 00:49:08 -08:00
parent 200accac63
commit 33b3958064
13 changed files with 32 additions and 18 deletions

View file

@ -72,7 +72,7 @@ for remlist in $*; do
zftp remote $rem >|$1
rstat=$?
remstats=($(<$1))
} =(: temporary file)
} =(<<<'temporary file')
if [[ $rstat = 2 ]]; then
print "Server does not implement full command set required." 1>&2
return 1