[Libguestfs] [PATCH 0/3] Use gnulib's getprogname

Pino Toscano ptoscano at redhat.com
Thu Sep 8 08:10:42 UTC 2016


Hi,

this series update libguestfs to a recent gnulib version, so that we
can use its new getprogname module, and solve altogether one of the
porting issues (the need for 'program_name' by the error module of
gnulib), and have a single way to get the name of the current program.

A number of changes in tools mostly, although mechanical.

Thanks,

Pino Toscano (3):
  Update gnulib to latest
  Use the getprogname gnulib module
  daemon: drop program_name definition

 .gnulib                                       |  2 +-
 align/scan.c                                  |  8 ++++--
 bootstrap                                     |  1 +
 builder/index-validate.c                      |  7 +++--
 cat/cat.c                                     | 10 ++++---
 cat/filesystems.c                             | 13 +++++----
 cat/log.c                                     | 22 +++++++-------
 cat/ls.c                                      |  9 +++---
 cat/visit.c                                   |  6 ++--
 daemon/guestfsd.c                             |  3 --
 df/main.c                                     |  8 ++++--
 df/parallel.c                                 |  3 +-
 diff/diff.c                                   | 15 +++++-----
 edit/edit.c                                   |  9 +++---
 fish/config.c                                 |  6 ++--
 fish/fish.c                                   | 41 ++++++++++++++-------------
 fish/inspect.c                                |  7 +++--
 fish/options.c                                | 10 ++++---
 fish/options.h                                |  6 ++--
 fish/uri.c                                    |  9 +++---
 format/format.c                               | 12 ++++----
 fuse/guestmount.c                             | 13 +++++----
 fuse/guestunmount.c                           | 13 +++++----
 fuse/test-guestmount-fd.c                     |  9 +++---
 generator/fish.ml                             |  5 ++--
 inspector/inspector.c                         | 12 ++++----
 m4/.gitignore                                 |  1 +
 m4/guestfs_libraries.m4                       |  4 ---
 make-fs/make-fs.c                             | 29 ++++++++++---------
 mllib/getopt-c.c                              | 11 +++----
 p2v/conversion.c                              |  3 +-
 p2v/gui.c                                     | 11 +++----
 p2v/kernel-cmdline.c                          |  4 ++-
 p2v/kernel.c                                  | 12 ++++----
 p2v/main.c                                    | 11 +++----
 p2v/ssh.c                                     |  9 +++---
 rescue/rescue.c                               | 13 +++++----
 src/guestfs-internal-frontend.h               | 11 -------
 src/handle.c                                  | 11 +++----
 tests/charsets/test-charset-fidelity.c        |  4 ++-
 tests/mount-local/test-parallel-mount-local.c |  5 ++--
 tests/parallel/test-parallel.c                |  5 ++--
 tests/regressions/Makefile.am                 |  8 ++++--
 tests/regressions/rhbz790721.c                |  4 ++-
 tests/regressions/rhbz914931.c                |  4 ++-
 utils/boot-analysis/boot-analysis.c           |  6 ++--
 utils/boot-benchmark/boot-benchmark.c         |  8 ++++--
 utils/qemu-boot/qemu-boot.c                   | 10 ++++---
 utils/qemu-speed-test/qemu-speed-test.c       | 20 +++++++------
 49 files changed, 253 insertions(+), 210 deletions(-)

-- 
2.7.4




More information about the Libguestfs mailing list