[Pkg-ofed-commits] [qperf] 05/11: New upstream version 0.4.9
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Mon Aug 29 12:37:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository qperf.
commit 171980b3b51f239fb0303d471d6b44d4e816b0e6
Author: Ana Guerrero López <ana at ekaia.org>
Date: Mon Aug 29 14:28:25 2016 +0200
New upstream version 0.4.9
---
autom4te.cache/output.0 | 20 ++++++++++----------
autom4te.cache/output.1 | 20 ++++++++++----------
autom4te.cache/traces.0 | 2 +-
autom4te.cache/traces.1 | 6 +++---
configure | 20 ++++++++++----------
configure.in | 4 ++--
qperf.spec | 2 +-
src/qperf.c | 9 ++++-----
src/support.c | 16 ++++++----------
9 files changed, 47 insertions(+), 52 deletions(-)
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0
index 14dc15a..05a8f1f 100644
--- a/autom4te.cache/output.0
+++ b/autom4te.cache/output.0
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.63 for qperf 0.4.8.
+@%:@ Generated by GNU Autoconf 2.63 for qperf 0.4.9.
@%:@
@%:@ Report bugs to <general at lists.openfabrics.org>.
@%:@
@@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='qperf'
PACKAGE_TARNAME='qperf'
-PACKAGE_VERSION='0.4.8'
-PACKAGE_STRING='qperf 0.4.8'
+PACKAGE_VERSION='0.4.9'
+PACKAGE_STRING='qperf 0.4.9'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_subst_vars='LTLIBOBJS
@@ -1247,7 +1247,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures qperf 0.4.8 to adapt to many kinds of systems.
+\`configure' configures qperf 0.4.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1313,7 +1313,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of qperf 0.4.8:";;
+ short | recursive ) echo "Configuration of qperf 0.4.9:";;
esac
cat <<\_ACEOF
@@ -1399,7 +1399,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-qperf configure 0.4.8
+qperf configure 0.4.9
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1413,7 +1413,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by qperf $as_me 0.4.8, which was
+It was created by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2129,7 +2129,7 @@ fi
# Define the identity of the package.
PACKAGE=qperf
- VERSION=0.4.8
+ VERSION=0.4.9
cat >>confdefs.h <<_ACEOF
@@ -4091,7 +4091,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by qperf $as_me 0.4.8, which was
+This file was extended by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4145,7 +4145,7 @@ Report bugs to <bug-autoconf at gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-qperf config.status 0.4.8
+qperf config.status 0.4.9
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1
index 14dc15a..05a8f1f 100644
--- a/autom4te.cache/output.1
+++ b/autom4te.cache/output.1
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.63 for qperf 0.4.8.
+@%:@ Generated by GNU Autoconf 2.63 for qperf 0.4.9.
@%:@
@%:@ Report bugs to <general at lists.openfabrics.org>.
@%:@
@@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='qperf'
PACKAGE_TARNAME='qperf'
-PACKAGE_VERSION='0.4.8'
-PACKAGE_STRING='qperf 0.4.8'
+PACKAGE_VERSION='0.4.9'
+PACKAGE_STRING='qperf 0.4.9'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_subst_vars='LTLIBOBJS
@@ -1247,7 +1247,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures qperf 0.4.8 to adapt to many kinds of systems.
+\`configure' configures qperf 0.4.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1313,7 +1313,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of qperf 0.4.8:";;
+ short | recursive ) echo "Configuration of qperf 0.4.9:";;
esac
cat <<\_ACEOF
@@ -1399,7 +1399,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-qperf configure 0.4.8
+qperf configure 0.4.9
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1413,7 +1413,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by qperf $as_me 0.4.8, which was
+It was created by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2129,7 +2129,7 @@ fi
# Define the identity of the package.
PACKAGE=qperf
- VERSION=0.4.8
+ VERSION=0.4.9
cat >>confdefs.h <<_ACEOF
@@ -4091,7 +4091,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by qperf $as_me 0.4.8, which was
+This file was extended by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4145,7 +4145,7 @@ Report bugs to <bug-autoconf at gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-qperf config.status 0.4.8
+qperf config.status 0.4.9
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0
index 8bbb9a1..19236ab 100644
--- a/autom4te.cache/traces.0
+++ b/autom4te.cache/traces.0
@@ -539,7 +539,7 @@ m4trace:configure.in:1: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:1: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([qperf], [0.4.8])
+m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([qperf], [0.4.9])
m4trace:configure.in:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:2: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
m4trace:configure.in:2: -1- AM_AUTOMAKE_VERSION([1.10.1])
diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1
index 1ace945..1086c58 100644
--- a/autom4te.cache/traces.1
+++ b/autom4te.cache/traces.1
@@ -1,4 +1,4 @@
-m4trace:configure.in:1: -1- AC_INIT([qperf], [0.4.8], [general at lists.openfabrics.org])
+m4trace:configure.in:1: -1- AC_INIT([qperf], [0.4.9], [general at lists.openfabrics.org])
m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
@@ -139,7 +139,7 @@ m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:1: -1- AC_SUBST([target_alias])
m4trace:configure.in:1: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([qperf], [0.4.8])
+m4trace:configure.in:2: -1- AM_INIT_AUTOMAKE([qperf], [0.4.9])
m4trace:configure.in:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:2: -1- AM_AUTOMAKE_VERSION([1.10.1])
m4trace:configure.in:2: -1- AC_REQUIRE_AUX_FILE([install-sh])
@@ -162,7 +162,7 @@ m4trace:configure.in:2: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.in:2: -1- AC_SUBST([PACKAGE], [qperf])
m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.in:2: -1- AC_SUBST([VERSION], [0.4.8])
+m4trace:configure.in:2: -1- AC_SUBST([VERSION], [0.4.9])
m4trace:configure.in:2: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.in:2: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
diff --git a/configure b/configure
index b4a943f..024de9d 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for qperf 0.4.8.
+# Generated by GNU Autoconf 2.63 for qperf 0.4.9.
#
# Report bugs to <general at lists.openfabrics.org>.
#
@@ -596,8 +596,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='qperf'
PACKAGE_TARNAME='qperf'
-PACKAGE_VERSION='0.4.8'
-PACKAGE_STRING='qperf 0.4.8'
+PACKAGE_VERSION='0.4.9'
+PACKAGE_STRING='qperf 0.4.9'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_subst_vars='LTLIBOBJS
@@ -1247,7 +1247,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures qperf 0.4.8 to adapt to many kinds of systems.
+\`configure' configures qperf 0.4.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1313,7 +1313,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of qperf 0.4.8:";;
+ short | recursive ) echo "Configuration of qperf 0.4.9:";;
esac
cat <<\_ACEOF
@@ -1399,7 +1399,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-qperf configure 0.4.8
+qperf configure 0.4.9
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1413,7 +1413,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by qperf $as_me 0.4.8, which was
+It was created by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2129,7 +2129,7 @@ fi
# Define the identity of the package.
PACKAGE=qperf
- VERSION=0.4.8
+ VERSION=0.4.9
cat >>confdefs.h <<_ACEOF
@@ -4091,7 +4091,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by qperf $as_me 0.4.8, which was
+This file was extended by qperf $as_me 0.4.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4145,7 +4145,7 @@ Report bugs to <bug-autoconf at gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-qperf config.status 0.4.8
+qperf config.status 0.4.9
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.in b/configure.in
index 6bd5b0b..751ef6d 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
-AC_INIT(qperf, 0.4.8, general at lists.openfabrics.org)
-AM_INIT_AUTOMAKE(qperf, 0.4.8)
+AC_INIT(qperf, 0.4.9, general at lists.openfabrics.org)
+AM_INIT_AUTOMAKE(qperf, 0.4.9)
AC_PROG_CC
AC_CHECK_LIB(ibverbs, ibv_open_device, RDMA=1)
AC_CHECK_LIB(ibverbs, ibv_open_xrc_domain, HAS_XRC=1)
diff --git a/qperf.spec b/qperf.spec
index 75e7c27..bb23259 100644
--- a/qperf.spec
+++ b/qperf.spec
@@ -1,6 +1,6 @@
Name: qperf
Summary: Measure socket and RDMA performance
-Version: 0.4.8
+Version: 0.4.9
Release: 1
License: BSD 3-Clause, GPL v2
Group: Networking/Diagnostic
diff --git a/src/qperf.c b/src/qperf.c
index 897b0ff..2a5fa65 100644
--- a/src/qperf.c
+++ b/src/qperf.c
@@ -62,7 +62,7 @@
*/
#define VER_MAJ 0 /* Major version */
#define VER_MIN 4 /* Minor version */
-#define VER_INC 8 /* Incremental version */
+#define VER_INC 9 /* Incremental version */
#define LISTENQ 5 /* Size of listen queue */
#define BUFSIZE 1024 /* Size of buffers */
@@ -1778,11 +1778,10 @@ run_client_quit(void)
static void
run_server_quit(void)
{
- int z;
char buf[1];
sync_test();
- z = read(RemoteFD, buf, sizeof(buf));
+ (void) read(RemoteFD, buf, sizeof(buf));
kill(getppid(), SIGQUIT);
exit(0);
}
@@ -2378,12 +2377,12 @@ view_band(int type, char *pref, char *name, double value)
if (!verbose(type, value))
return;
if (UseBitsPerSec) {
- char *t[] ={ "bits/sec", "Kb/sec", "Mb/sec", "Gb/sec", "Tb/sec" };
+ static char *t[] ={ "bits/sec", "Kb/sec", "Mb/sec", "Gb/sec", "Tb/sec" };
s = cardof(t);
tab = t;
value *= 8;
} else {
- char *t[] ={ "bytes/sec", "KB/sec", "MB/sec", "GB/sec", "TB/sec" };
+ static char *t[] ={ "bytes/sec", "KB/sec", "MB/sec", "GB/sec", "TB/sec" };
s = cardof(t);
tab = t;
}
diff --git a/src/support.c b/src/support.c
index 51cbce6..6c82bb0 100644
--- a/src/support.c
+++ b/src/support.c
@@ -212,17 +212,16 @@ qasprintf(char *fmt, ...)
void
touch_data(void *p, int n)
{
- uint64_t a;
volatile uint64_t *p64 = p;
while (n >= sizeof(*p64)) {
- a = *p64++;
+ (void) *p64++;
n -= sizeof(*p64);
}
if (n) {
volatile uint8_t *p8 = (uint8_t *)p64;
while (n >= sizeof(*p8)) {
- a = *p8++;
+ (void) *p8++;
n -= sizeof(*p8);
}
}
@@ -419,7 +418,6 @@ setsockopt_one(int fd, int optname)
void
urgent(void)
{
- int z;
char *p, *q;
char buffer[256];
@@ -471,7 +469,7 @@ urgent(void)
remote_failure_error();
if (s)
break;
- z = read(RemoteFD, p, q-p);
+ (void) read(RemoteFD, p, q-p);
}
while (p < q) {
@@ -484,7 +482,7 @@ urgent(void)
timeout_end();
buf_end(&p, q);
- z = write(2, buffer, p+1-buffer);
+ (void) write(2, buffer, p+1-buffer);
die();
}
@@ -505,7 +503,6 @@ sig_alrm_remote_failure(int signo, siginfo_t *siginfo, void *ucontext)
static void
remote_failure_error(void)
{
- int z;
char buffer[256];
char *p = buffer;
char *q = p + sizeof(buffer);
@@ -513,7 +510,7 @@ remote_failure_error(void)
buf_app(&p, q, remote_name());
buf_app(&p, q, " failure");
buf_end(&p, q);
- z = write(2, buffer, p+1-buffer);
+ (void) write(2, buffer, p+1-buffer);
die();
}
@@ -539,7 +536,6 @@ remote_name(void)
int
error(int actions, char *fmt, ...)
{
- int z;
va_list alist;
char buffer[256];
char *p = buffer;
@@ -561,7 +557,7 @@ error(int actions, char *fmt, ...)
if (RemoteFD >= 0) {
send(RemoteFD, "?", 1, MSG_OOB);
- z = write(RemoteFD, buffer, p-buffer);
+ (void) write(RemoteFD, buffer, p-buffer);
shutdown(RemoteFD, SHUT_WR);
timeout_set(ERROR_TIMEOUT, sig_alrm_die);
while (read(RemoteFD, buffer, sizeof(buffer)) > 0)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/not-in-debian/qperf.git
More information about the Pkg-ofed-commits
mailing list