summaryrefslogtreecommitdiffstats
path: root/debian/patches/017-spelling-errors
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:25:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:25:50 +0000
commit976d8bbeb34073b8fbedb5e257eb0b4bc15c66ba (patch)
treeaca8d49978220566f710dad566dfba0aa3bce8db /debian/patches/017-spelling-errors
parentMerging upstream version 2.2.0+dfsg. (diff)
downloadiperf-976d8bbeb34073b8fbedb5e257eb0b4bc15c66ba.tar.xz
iperf-976d8bbeb34073b8fbedb5e257eb0b4bc15c66ba.zip
Merging debian version 2.2.0+dfsg-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/017-spelling-errors123
1 files changed, 95 insertions, 28 deletions
diff --git a/debian/patches/017-spelling-errors b/debian/patches/017-spelling-errors
index 5dafbfb..ace0914 100644
--- a/debian/patches/017-spelling-errors
+++ b/debian/patches/017-spelling-errors
@@ -2,26 +2,11 @@ Description: spelling errors in binary (lintian)
fix spelling errors / typos
Author: Roberto Lumbreras
-Index: iperf-2.1.9+dfsg/src/socket_io.c
+Index: iperf-2.2.0+dfsg/src/Client.cpp
===================================================================
---- iperf-2.1.9+dfsg.orig/src/socket_io.c 2023-03-19 22:35:11.629287791 +0100
-+++ iperf-2.1.9+dfsg/src/socket_io.c 2023-03-20 01:01:33.235639884 +0100
-@@ -212,8 +212,8 @@
- // check for a fatal error vs an error that should retry
- if ((errno != EINTR) && (errno != EAGAIN) && (errno != EWOULDBLOCK)) {
- nwritten = inLen - nleft;
-- fprintf(stdout, "FAIL: writen errno = %d\n", errno);
-- WARN_errno(1, "writen fatal");
-+ fprintf(stdout, "FAIL: written errno = %d\n", errno);
-+ WARN_errno(1, "written fatal");
- sInterupted = 1;
- goto DONE;
- }
-Index: iperf-2.1.9+dfsg/src/Client.cpp
-===================================================================
---- iperf-2.1.9+dfsg.orig/src/Client.cpp 2023-03-19 22:35:11.629287791 +0100
-+++ iperf-2.1.9+dfsg/src/Client.cpp 2023-03-19 23:20:45.991993974 +0100
-@@ -994,7 +994,7 @@
+--- iperf-2.2.0+dfsg.orig/src/Client.cpp 2024-05-27 17:19:13.547858514 +0200
++++ iperf-2.2.0+dfsg/src/Client.cpp 2024-05-27 17:19:13.547858514 +0200
+@@ -1157,7 +1157,7 @@
reportstruct->sentTime = reportstruct->packetTime;
reportstruct->packetLen = writen(mySocket, mSettings->mBuf, writelen, &reportstruct->writecnt);
if (reportstruct->packetLen <= 0) {
@@ -30,12 +15,94 @@ Index: iperf-2.1.9+dfsg/src/Client.cpp
if (reportstruct->packetLen == 0) {
peerclose = true;
}
-@@ -1076,7 +1076,7 @@
- } else if (reportstruct->packetLen == 0) {
- peerclose = true;
- } else if (reportstruct->packetLen != writelen) {
-- WARN_errno(1, "tcp bounceback writen incomplete");
-+ WARN_errno(1, "tcp bounceback written incomplete");
- peerclose = true;
- } else {
- // retry the write
+@@ -1261,7 +1261,7 @@
+ }
+ write_offset += n;
+ if ((write_offset < writelen) && InProgress()) {
+- WARN_errno(1, "tcp bounceback writen incomplete");
++ WARN_errno(1, "tcp bounceback written incomplete");
+ PostNullEvent(false,false);
+ goto RETRY_WRITE;
+ }
+Index: iperf-2.2.0+dfsg/src/socket_io.c
+===================================================================
+--- iperf-2.2.0+dfsg.orig/src/socket_io.c 2024-05-27 17:19:13.547858514 +0200
++++ iperf-2.2.0+dfsg/src/socket_io.c 2024-05-27 17:19:13.547858514 +0200
+@@ -211,7 +211,7 @@
+ // check for a fatal error vs an error that should retry
+ if ((errno != EINTR) && (errno != EAGAIN) && (errno != EWOULDBLOCK)) {
+ nwritten = inLen - nleft;
+- fprintf(stdout, "FAIL: writen errno = %d (bytes=%d)\n", errno, nwritten);
++ fprintf(stdout, "FAIL: written errno = %d (bytes=%d)\n", errno, nwritten);
+ // sInterupted = 1;
+ goto DONE;
+ }
+Index: iperf-2.2.0+dfsg/src/Server.cpp
+===================================================================
+--- iperf-2.2.0+dfsg.orig/src/Server.cpp 2024-04-07 05:47:17.000000000 +0200
++++ iperf-2.2.0+dfsg/src/Server.cpp 2024-05-27 17:23:21.590811724 +0200
+@@ -400,7 +400,7 @@
+ if (n < 0) {
+ if (FATALTCPWRITERR(errno)) {
+ reportstruct->err_readwrite=WriteErrFatal;
+- FAIL_errno(1, "tcp bounceback writen", mSettings);
++ FAIL_errno(1, "tcp bounceback written", mSettings);
+ peerclose = true;
+ break;
+ } else {
+@@ -410,7 +410,7 @@
+ }
+ write_offset += n;
+ if (write_offset < writelen) {
+- WARN_errno(1, "tcp bounceback writen incomplete");
++ WARN_errno(1, "tcp bounceback written incomplete");
+ PostNullEvent();
+ continue;
+ }
+@@ -782,7 +782,7 @@
+ }
+ }
+ } else if (ctrunc_warn_enable && mSettings->mTransferIDStr) {
+- fprintf(stderr, "%sWARN: recvmsg MSG_CTRUNC occured\n", mSettings->mTransferIDStr);
++ fprintf(stderr, "%sWARN: recvmsg MSG_CTRUNC occurred\n", mSettings->mTransferIDStr);
+ ctrunc_warn_enable = false;
+ }
+ }
+Index: iperf-2.2.0+dfsg/man/iperf.1
+===================================================================
+--- iperf-2.2.0+dfsg.orig/man/iperf.1 2024-05-27 17:19:11.407867525 +0200
++++ iperf-2.2.0+dfsg/man/iperf.1 2024-05-27 17:25:35.362245740 +0200
+@@ -153,7 +153,7 @@
+ Set the socket option of TCP_WINDOW_CLAMP, units is bytes.
+ .TP
+ .BR " \-\-test\-exchange\-timeout " \fI<value>\fR
+-Set the maximum wait time for a test excahnge in seconds. Defaults to 60 seconds if not set. A value of zero will disable the timeout.
++Set the maximum wait time for a test exchange in seconds. Defaults to 60 seconds if not set. A value of zero will disable the timeout.
+ .TP
+ .BR \-t ", " \-\-time " \fIn\fR"
+ time in seconds to listen for new traffic connections and/or receive traffic (defaults to infinite)
+@@ -184,13 +184,13 @@
+ Enable IPv6 reception by setting the domain and socket to AF_INET6 (Can receive on both IPv4 and IPv6)
+ .TP
+ .BR " \-\-tcp\-cca "
+-Set the congestion control algorithm to be used for TCP connections \- will overide any client side settings (same as \-\-tcp\-congestion)
++Set the congestion control algorithm to be used for TCP connections \- will override any client side settings (same as \-\-tcp\-congestion)
+ .TP
+ .BR " \-\-working\-load "
+ Enable support for TCP working loads on UDP traffic streams
+ .TP
+ .BR " \-\-working\-load\-cca "
+-Set the congestion control algorithm to be used for TCP working loads \- will overide any client side settings
++Set the congestion control algorithm to be used for TCP working loads \- will override any client side settings
+ .SH "CLIENT SPECIFIC OPTIONS"
+ .TP
+ .BR \-b ", " \-\-bandwidth " \fIn\fR[kmgKMG][,\fIn\fR[kmgKMG]] | \fIn\fR\fR[kmgKMG]pps"
+@@ -1000,7 +1000,7 @@
+ .P
+ .B Unsynchronized clock detections with \-\-bounceback and \-\-trip\-times (as of March 19, 2023):
+ Iperf 2 can detect when the clocks have synchronization errors larger than the bounceback RTT. This is done via the client's send timestamp (clock A),
+-the server's recieve timestamp (clock B) and the client's final receive timestamp (clock A.) The check, done on each bounceback, is
++the server's receive timestamp (clock B) and the client's final receive timestamp (clock A.) The check, done on each bounceback, is
+ write(A) < read(B) < read(A). This is supported in bounceback tests with
+ a slight adjustment: clock write(A) < clock read(B) < clock read(A) \- (clock write(B) \- clock read(B)). All the
+ timestamps are sampled on the initial write or read (not the completion of.)