[openssh-commits] [openssh] branch master updated: upstream: Some dd's don't understand "1m", so handle seperately.
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Mar 11 20:31:19 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 10124eef upstream: Some dd's don't understand "1m", so handle seperately.
10124eef is described below
commit 10124eefe875a3e4e1cfb84ebe6a613ed3213b78
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Tue Mar 11 09:06:50 2025 +0000
upstream: Some dd's don't understand "1m", so handle seperately.
OpenBSD-Regress-ID: 1d983b27c96f28f69d3a288c19e8d8c58e1b2ee3
---
regress/sftp-resume.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/regress/sftp-resume.sh b/regress/sftp-resume.sh
index 4c2f6f11..f4fe8f92 100644
--- a/regress/sftp-resume.sh
+++ b/regress/sftp-resume.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-resume.sh,v 1.1 2025/03/11 07:50:20 dtucker Exp $
+# $OpenBSD: sftp-resume.sh,v 1.2 2025/03/11 09:06:50 dtucker Exp $
# Placed in the Public Domain.
tid="sftp resume"
@@ -24,6 +24,8 @@ for cmd in put get; do
;;
same) cp ${DATA} ${COPY}.2
;;
+ 1m) dd if=${COPY}.1 of=${COPY}.2 bs=1k count=1k >/dev/null 2<&1
+ ;;
*) dd if=${COPY}.1 of=${COPY}.2 bs=${size} count=1 >/dev/null 2>&1
;;
esac
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list