diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:11:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:11:50 +0000 |
commit | 054d2bd549b979947565f10890bf2d2b4a6feba2 (patch) | |
tree | ec06707546c523d3ca43b34503af94c99e704b65 /src/vfs/fish/helpers/send | |
parent | Adding debian version 3:4.8.30-1. (diff) | |
download | mc-054d2bd549b979947565f10890bf2d2b4a6feba2.tar.xz mc-054d2bd549b979947565f10890bf2d2b4a6feba2.zip |
Merging upstream version 3:4.8.31.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/vfs/fish/helpers/send')
-rw-r--r-- | src/vfs/fish/helpers/send | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/vfs/fish/helpers/send b/src/vfs/fish/helpers/send deleted file mode 100644 index 80dd22b..0000000 --- a/src/vfs/fish/helpers/send +++ /dev/null @@ -1,17 +0,0 @@ -#STOR $FISH_FILESIZE $FISH_FILENAME -FILENAME="/${FISH_FILENAME}" -echo "### 001" -{ - > "${FILENAME}" - bss=4096 - bsl=4095 - if [ $FISH_FILESIZE -lt $bss ]; then - bss=1; - bsl=0; - fi - while [ $FISH_FILESIZE -gt 0 ]; do - cnt=`expr \\( $FISH_FILESIZE + $bsl \\) / $bss` - n=`dd bs=$bss count=$cnt | tee -a "${FILENAME}" | wc -c` - FISH_FILESIZE=`expr $FISH_FILESIZE - $n` - done -}; echo "### 200" |