public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/globus-xioperf] rawhide: Fix compiler warnings
@ 2026-06-14  8:55 Mattias Ellert
  0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-06-14  8:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/globus-xioperf
Branch : rawhide
Commit : 19f5a07fcac76cb784a4f6b01cc2585315bae3d3
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date   : 2026-06-14T10:39:13+02:00
Stats  : +102/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/globus-xioperf/c/19f5a07fcac76cb784a4f6b01cc2585315bae3d3?branch=rawhide

Log:
Fix compiler warnings

---
diff --git a/0001-Untabify-and-remove-trailing-white-space.patch b/0001-Untabify-and-remove-trailing-white-space.patch
new file mode 100644
index 0000000..7766b6d
--- /dev/null
+++ b/0001-Untabify-and-remove-trailing-white-space.patch
@@ -0,0 +1,68 @@
+From 3ccdaa0236230bbcbcbf339e7dfdfaf23c10bd6f Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <mattias.ellert@physics.uu.se>
+Date: Wed, 20 May 2026 00:15:37 +0200
+Subject: [PATCH 1/2] Untabify and remove trailing white-space
+
+---
+ xio/xioperf/source/globus_i_xioperf_opts.c | 24 +++++++++++-----------
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/xio/xioperf/source/globus_i_xioperf_opts.c b/xio/xioperf/source/globus_i_xioperf_opts.c
+index 616e28e70..1ee0fe519 100644
+--- a/xio/xioperf/source/globus_i_xioperf_opts.c
++++ b/xio/xioperf/source/globus_i_xioperf_opts.c
+@@ -539,39 +539,39 @@ globus_options_entry_t                   globus_i_xioperf_opts_table[] =
+         "format to report: Kbits, Mbits, Gbits, KBytes, MBytes, GBytes",
+         1, xioperf_l_opts_format},
+     {"interval", "i", NULL, "#",
+-        "seconds between periodic bandwidth reports", 
++        "seconds between periodic bandwidth reports",
+         1, xio_perf_l_opts_interval},
+     {"quiet", "q", NULL, NULL,
+-        "only output | <time> <read bytes> <read BW> <write bytes> <write BW>", 
++        "only output | <time> <read bytes> <read BW> <write bytes> <write BW>",
+         0, xioperf_l_opts_quiet},
+     {"len", "l", NULL, "#[KM]",
+-        "length of buffer to read or write (default 8 KB)", 
++        "length of buffer to read or write (default 8 KB)",
+         1, xioperf_l_opts_len},
+     {"help", "h", NULL, "#[KM]",
+         "print the help message",
+         0, xioperf_l_opts_help},
+     {"port", "p", NULL, "#",
+-        "server port to listen on/connect to", 
++        "server port to listen on/connect to",
+         1, xioperf_l_opts_port},
+     {"block-size", "bs", NULL, "#[GKM]",
+-        "block size to post at once (also disk block size)", 
++        "block size to post at once (also disk block size)",
+         1, xioperf_l_opts_blocksize},
+     {"window", "w", NULL, "#[GKM]",
+-        "TCP window size (socket buffer size)", 
++        "TCP window size (socket buffer size)",
+         1, xioperf_l_opts_window},
+     {"bind", "B", NULL, "<host>", "bind to <host>",
+         1, xioperf_l_opts_bind},
+     {"nodelay", "N", NULL, NULL,
+-        "set TCP no delay, disabling Nagle's Algorithm", 
++        "set TCP no delay, disabling Nagle's Algorithm",
+         0, xioperf_l_opts_nodelay},
+-    {"server", "s", NULL, NULL, 
+-        "run in server mode", 
++    {"server", "s", NULL, NULL,
++        "run in server mode",
+         0, xioperf_l_opts_server},
+     {"bandwidth", "b", NULL, "#[GKM]",
+-        "bandwidth to send at in bits/sec.  (default 1 Mbit/sec)", 
++        "bandwidth to send at in bits/sec.  (default 1 Mbit/sec)",
+         1, xioperf_l_opts_bandwidth},
+-    {"client", "c", NULL, "<host>", 
+-        "run in client mode, connecting to <host>", 
++    {"client", "c", NULL, "<host>",
++        "run in client mode, connecting to <host>",
+         1, xioperf_l_opts_client},
+     {"num", "n", NULL, "#[KM]",
+         "number of bytes to transmit (instead of -t)",
+-- 
+2.54.0
+

diff --git a/0002-Fix-compiler-and-doxygen-warnings.patch b/0002-Fix-compiler-and-doxygen-warnings.patch
new file mode 100644
index 0000000..6f4ab86
--- /dev/null
+++ b/0002-Fix-compiler-and-doxygen-warnings.patch
@@ -0,0 +1,26 @@
+From 4ee08d13e2963309e2063dc45dedd067337d3b76 Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <mattias.ellert@physics.uu.se>
+Date: Wed, 20 May 2026 00:15:37 +0200
+Subject: [PATCH 2/2] Fix compiler and doxygen warnings
+
+---
+ xio/xioperf/source/globus_i_xioperf_opts.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/xio/xioperf/source/globus_i_xioperf_opts.c b/xio/xioperf/source/globus_i_xioperf_opts.c
+index 1ee0fe519..1fd9eb1ca 100644
+--- a/xio/xioperf/source/globus_i_xioperf_opts.c
++++ b/xio/xioperf/source/globus_i_xioperf_opts.c
+@@ -300,9 +300,6 @@ xioperf_l_opts_bandwidth(
+     int *                               out_parms_used)
+ {
+     GlobusXIOPerfFuncName(xioperf_l_opts_bandwidth);
+-    globus_i_xioperf_info_t *           info;
+-
+-    info = (globus_i_xioperf_info_t *) arg;
+ 
+     *out_parms_used = 0;
+     return GlobusXIOPerfError(
+-- 
+2.54.0
+

diff --git a/globus-xioperf.spec b/globus-xioperf.spec
index 6ab5cd9..e80788d 100644
--- a/globus-xioperf.spec
+++ b/globus-xioperf.spec
@@ -1,13 +1,15 @@
 Name:		globus-xioperf
 %global _name %(tr - _ <<< %{name})
 Version:	5.1
-Release:	17%{?dist}
+Release:	18%{?dist}
 Summary:	Grid Community Toolkit - XIO Performance Tool
 
 License:	Apache-2.0
 URL:		https://github.com/gridcf/gct/
 Source:		https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz
 Source8:	README
+Patch0:		0001-Untabify-and-remove-trailing-white-space.patch
+Patch1:		0002-Fix-compiler-and-doxygen-warnings.patch
 
 BuildRequires:	make
 BuildRequires:	gcc
@@ -26,6 +28,8 @@ XIO Performance Tool
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch -P0 -p4
+%patch -P1 -p4
 
 %build
 # Reduce overlinking
@@ -57,6 +61,9 @@ rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE
 %license GLOBUS_LICENSE
 
 %changelog
+* Sun Jun 14 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 5.1-18
+- Fix compiler warnings
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-14  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14  8:55 [rpms/globus-xioperf] rawhide: Fix compiler warnings Mattias Ellert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox