diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2014-12-28 00:49:08 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-12-28 00:49:08 -0800 |
commit | 33b395806470eeac408070fec535bfd5efc20a2c (patch) | |
tree | 460b4348ea6401c36bd3488a0bf3fe12f9b4d7c4 /Functions/Zftp/zfcput | |
parent | 200accac63deae99eb9656b26363c85648bd6748 (diff) | |
download | zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.gz zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.xz zsh-33b395806470eeac408070fec535bfd5efc20a2c.zip |
34068: create tempfiles without forking, and safe temp directory creation
Diffstat (limited to 'Functions/Zftp/zfcput')
-rw-r--r-- | Functions/Zftp/zfcput | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zftp/zfcput b/Functions/Zftp/zfcput index 2cf8fe2d2..eafecde78 100644 --- a/Functions/Zftp/zfcput +++ b/Functions/Zftp/zfcput @@ -43,7 +43,7 @@ for loc in $*; do zftp remote $rem >|$1 rstat=$? remst=($(<$1)) - } =(: temporary file) + } =(<<<'temporary file') if [[ $rstat = 2 ]]; then print "Server does not support remote status commands.\n" \ "You will have to find out the size by hand and use zftp append." 2>&1 |