Displaying 20 results from an estimated 11000 matches similar to: "using gnulib from daemon/"
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
Remove gnulib modules that provide stuff clearly not used within
libguestfs (library, daemon, and C tools). Among directly and
indirectly modules used previous (and now no more), they are:
cycle-check
dev-ino
dup3
dup3-tests
fcntl-safer
fcntl-safer-tests
filevercmp
filevercmp-tests
fts
getaddrinfo
getaddrinfo-tests
hostent
i-ring
i-ring-tests
inet_ntop
2009 Oct 26
1
[PATCH libguestfs] build: tell gnulib-tool that this is an lgplv2+ library
This merely enforces (wrt gnulib) the existing convention that
libguestfs is covered by LGPLv2+ .
>From 99a8fab0fa0474b4ab3959a5bd5867779a1d08d6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 26 Oct 2009 16:01:06 +0100
Subject: [PATCH libguestfs] build: tell gnulib-tool that this is an lgplv2+ library
* bootstrap: Invoke gnulib-tool with --lgpl=2.
---
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
Here's a patch series to make libguestfs use gnulib via a git submodule.
The first thing I did was to look at the failures from "make syntax-check"
and fix the config.h-related ones below. The others are now
temporarily disabled via a variable in cfg.mk.
I fixed the config-h problems and moved those change sets to precede
the test-adding one, so that bisection still works, even if
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
Nearly any program that writes to standard output can
benefit from this sort of fix.
Without it, running e.g., ./guestfish --version > /dev/full
would exit successfully, even though it got ENOSPC
when writing to the full device. That means regular
output redirected to a file on a full partition may also
fail to be written, and the error ignored.
Before:
$ guestfish --version >
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
On Wed, Sep 18, 2019 at 06:51:15PM +0200, Pino Toscano wrote:
> Remove gnulib modules that provide stuff clearly not used within
> libguestfs (library, daemon, and C tools). Among directly and
> indirectly modules used previous (and now no more), they are:
>
> cycle-check
> dev-ino
> dup3
> dup3-tests
> fcntl-safer
> fcntl-safer-tests
> filevercmp
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
Remove gnulib modules that provide stuff clearly not used within
libguestfs (library, daemon, and C tools). Among directly and
indirectly modules used previous (and now no more), they are:
cycle-check
d-ino
dev-ino
dup3
dup3-tests
fcntl-safer
fcntl-safer-tests
fdopendir
fdopendir-tests
filevercmp
filevercmp-tests
ftell
ftell-tests
ftello
ftello-tests
fts
2017 Jun 12
0
AIX lacks getopt_long
* As a test I added the 'struct option' to the file needing it, and
this confirmed the need for getopt_long() which AIX libc.a does not
include.
* p.s. I ran this dry-run from the "root" directory, perhaps it would
be better from the ./src directory
--- src/x071-test/src/doveadm/doveadm-cmd.c 2017-06-12 06:10:53 +0000
+++ src/AIX-port/src/doveadm/doveadm-cmd.c
2009 Sep 24
1
enabling more syntax-checks
The first c-set cleans up the list of excluded syntax-checks.
The second enables the sc_avoid_ctype_macros test and changes
each use of a ctype macro like isspace to c_isspace.
This makes it so such tests (often parsing-related) is locale-independent.
Otherwise, in some odd corner cases (combination of non-C locale
and perverted inputs), I suspect that libguestfs tools would mistakenly
accept
2019 Nov 27
5
[v2v PATCH v2 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a
while" saga -- now with working test suite.
Pino Toscano (5):
build: remove extra gnulib submodule
build: remove extra checks and submodules
build: stop using gnulib in test-harness
build: remove unused gnulib modules
Remove extra entries from podfiles
.gitmodules | 3 --
Makefile.am
2018 Feb 09
2
[PATCH] Add a cache for iconv_t handles to hive_t
It was brought to my attention that dumping a registry hive causes a
lot of time spent in disk I/O activity because iconv_open() and
iconv_close() are called for every key. Every iconv_open() call causes
/usr/lib/.../gconv/$ENCODING.so to be opened and mapped.
The iconv_t handles are now cached in the hive_h struct; they are
opened on-demand and re-used.
On my ~10 year old Lenovo T60, I have
2019 Sep 23
6
[PATCH v2 0/5] remove unused gnulib modules
This is an extended version of:
https://www.redhat.com/archives/libguestfs/2019-September/msg00178.html
It adds a couple of simple code changes, so it makes it possible to
drop more modules. In addition, more unused modules were dropped.
Pino Toscano (5):
tests: switch away from xgetcwd
daemon: move read_whole_file to common utils
daemon: switch from read_file to read_whole_file
daemon:
2019 Nov 27
6
[v2v PATCH 0/5] Various build cleanups
Brought to you by the "I haven't rebuilt the libguestfs universe in a
while" saga.
Pino Toscano (5):
build: remove extra gnulib submodule
build: remove extra checks and submodules
build: stop using gnulib in test-harness
build: remove unused gnulib modules
Remove extra entries from podfiles
.gitmodules | 3 --
Makefile.am | 2 -
bootstrap
2011 Nov 30
1
[PATCH] hivex: Added gnulib includes from builddir, as suggested by the Gnulib documentation; link hivexml against libgnu.
Since some modules (`getopt', for example) may copy files
into the build directory, `top_builddir/lib' is needed as well as
`top_srcdir/lib'. -- GNU Gnulib manual, section 2.2 Initial import
This fixes an in-tree build failure on a Debian/sid system (see
below). hivexml could be built out-of-tree, but it turned out that due
to a missing include path, in this case the
2011 Jun 28
13
[PATCH hivex 02/14] maint: remove unnecessary test-before-free
From: Jim Meyering <meyering at redhat.com>
* lib/hivex.c (hivex_node_set_value): Remove unnecessary
test-before-free.
---
lib/hivex.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/hivex.c b/lib/hivex.c
index d042f4f..a72fa77 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -2748,8 +2748,7 @@ hivex_node_set_value (hive_h *h, hive_node_h node,
leave_partial:
2012 Jun 11
1
[hivex][PATCH] OS X, bootstrap: Locate pkg.m4
OS X does not include pkg-config by default. When installed, pkg.m4 tends
to end up in some place that is not the autotool-expected /usr/share/aclocal/.
Add to bootstrap a path check so pkg.m4 can be found, so ./configure does
not fail invoking PKG_CHECK_MODULES.
Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu>
---
bootstrap | 7 ++++++-
1 files changed, 6 insertions(+), 1
2018 Aug 14
5
[PATCH 1/4] build: Use LT_INIT in configure.ac.
Avoids the warning:
libtoolize: Remember to add 'LT_INIT' to configure.ac.
This is the new name for AC_PROG_LIBTOOL, so I removed that.
However to use this macro we must enable AC_USE_SYSTEM_EXTENSIONS.
(AC_GNU_SOURCE was removed back in 2011).
---
configure.ac | 5 +++++
m4/guestfs-progs.m4 | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac
2013 Aug 20
0
[PATCH] modernize configure.ac, update gnulib macros and add the havelib module, remove aclocal.m4
For the next patch which I am about to submit (liblongpath integration), I
thought I we should have the autoconf havelib macros from gnulib
(AC_LIB_HAVE_LINKFLAGS).
AC_LIB_HAVE_LINKFLAGS would also be useful to facilitate linking to other
external libraries (popt, zlib) where they are installed outside the default
search path.
To avoid a dependency on gnulib (which would, IIUC, require more
2017 Aug 09
2
[PATCH 1/2] configure: visually split the blocks of checks
Add sort of "headers" to split most of the logical sections of the
configure, so it is easier to get feedback on the progress of configure.
---
configure.ac | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7f9c1dac0..5ccf6f821 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,11 +76,15 @@
2018 Aug 22
2
Re: [PATCH 4/4] java: Link with gnulib to resolve missing hash_free symbol.
On Tuesday, 14 August 2018 15:42:13 CEST Richard W.M. Jones wrote:
> ---
> java/Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/java/Makefile.am b/java/Makefile.am
> index 81c20f266..1bad9a853 100644
> --- a/java/Makefile.am
> +++ b/java/Makefile.am
> @@ -122,7 +122,8 @@ libguestfs_jni_la_CFLAGS = \
> libguestfs_jni_la_LIBADD
2013 Sep 04
3
[PATCH 0/2] Clean up compilation from git a little bit
SSIA
Martin Kletzander (2):
Don't redefine _FORTIFY_SOURCE
Get rid of gnulib error
bootstrap | 2 +-
configure.ac | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
--
1.8.3.2