mbox series

[00/25] dbench: fix compile warnings and update a bit

Message ID 20220209222610.438470-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series dbench: fix compile warnings and update a bit | expand

Message

Luis Chamberlain Feb. 9, 2022, 10:25 p.m. UTC
Some form of OCD kicked and so this fixes all compile errors on
dbench. It also fixes compiling with smbclient as detection of the
library wasn't working anymore. This also modernizes the default
build output to be a bit more quiet and only if you issue V=1 do
you get the details behind what is being built. In case this never
ends up on samba's git tree I've put mine up on github [0].

Well, hopefully Debian starts carrying dbench again soon.

[0] https://github.com/mcgrof/dbench

Luis Chamberlain (25):
  dbench: simplify open_loadfile() as check_loadfile_ok()
  child: fix usage of gzFile and gzopen()
  dbench: remove unused double t value
  child: fix data type comparison on child_run
  Makefile.in: disable unused warning for rpc generated code
  configure.ac: run autoupdate
  dbench: update use of time.h or sys/time.h
  config.h.in: run autoconf
  snprintf: specify safe fallthrough on switches
  nfsio.c: include dbench.h before nfs.h
  nfsio: remove unused status variable
  child: be expicit about string truncation goal
  child: do not overlap on memcpy()
  dbench.h: use bits/types.h instead of defining uint32
  sockio.c: use uint32_t
  libnfs.c: fix a few simple compile warnings
  libnfs: fix compilation warning for inet_tons
  libnfs.c: fix sign conflict compile warning
  Makefile.in:
  linux_scsi.c: fix redeclaration of _GNU_SOURCE
  Makefile.in: modernize build output with V=1 or V=0
  Makefile.in: declare datarootdir
  configure.ac: fix smbclient detection
  libiscsi: fix compile warning on data types
  smb: fix compilation and disable warning on deprecated-declarations

 Makefile.in  | 131 +++++++++++++++++++++++++++++++--------------------
 child.c      |  16 +++++--
 config.h.in  |  19 --------
 configure.ac |  41 +++++++---------
 dbench.c     |  27 ++++++-----
 dbench.h     |  16 ++++++-
 libiscsi.c   |   2 +-
 libnfs.c     |  15 +++---
 linux_scsi.c |   4 --
 nfsio.c      |   3 +-
 snprintf.c   |   3 ++
 sockio.c     |   2 +-
 12 files changed, 153 insertions(+), 126 deletions(-)