Displaying 12 results from an estimated 12 matches for "guestfs___recv".
2012 Apr 26
1
[PATCH 1/2] gobject: Use generator_built macro to ensure generated files are rebuilt properly.
From: "Richard W.M. Jones" <rjones at redhat.com>
---
generator/generator_gobject.ml | 4 ++--
gobject/Makefile.am | 14 +++++++++-----
gobject/Makefile.inc | 4 ++--
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index 17c6c36..3096501 100644
---
2015 Feb 09
11
[PATCH 1/5] macosx: Add required third parameter for xdrproc_t callbacks
...ed __MACH__)
if (!(*xdrp) (&xdr, args)) {
+#else
+ /* Mac OS X's implementation of xdrproc_t requires a third parameter */
+ if (!(*xdrp) (&xdr, args, 0)) {
+#endif
error (g, _("dispatch failed to marshal args"));
return -1;
}
@@ -681,7 +686,12 @@ guestfs___recv (guestfs_h *g, const char *fn,
return -1;
}
} else {
+#if !(defined __APPLE__ && defined __MACH__)
if (xdrp && ret && !xdrp (&xdr, ret)) {
+#else
+ /* Mac OS X's implementation of xdrproc_t requires a third parameter */
+ if (xdrp &&...
2015 Feb 09
0
Re: [PATCH 1/5] macosx: Add required third parameter for xdrproc_t callbacks
..., args)) {
> +#else
> + /* Mac OS X's implementation of xdrproc_t requires a third parameter */
> + if (!(*xdrp) (&xdr, args, 0)) {
> +#endif
> error (g, _("dispatch failed to marshal args"));
> return -1;
> }
> @@ -681,7 +686,12 @@ guestfs___recv (guestfs_h *g, const char *fn,
> return -1;
> }
> } else {
> +#if !(defined __APPLE__ && defined __MACH__)
> if (xdrp && ret && !xdrp (&xdr, ret)) {
> +#else
> + /* Mac OS X's implementation of xdrproc_t requires a third pa...
2015 Feb 12
0
[PATCH 3/3] lib: Add third, zero parameter to xdrproc_t
...@ -252,7 +252,7 @@ guestfs___send (guestfs_h *g, int proc_nr,
* have no parameters.
*/
if (xdrp) {
- if (!(*xdrp) (&xdr, args)) {
+ if (!(*xdrp) (&xdr, args, 0)) {
error (g, _("dispatch failed to marshal args"));
return -1;
}
@@ -681,7 +681,7 @@ guestfs___recv (guestfs_h *g, const char *fn,
return -1;
}
} else {
- if (xdrp && ret && !xdrp (&xdr, ret)) {
+ if (xdrp && ret && !xdrp (&xdr, ret, 0)) {
error (g, "%s: failed to parse reply", fn);
xdr_destroy (&xdr);...
2015 Feb 12
8
[PATCH 1/3] macosx: Includes/defines for byteswap operations
---
src/inspect-apps.c | 13 ++++++++++++-
src/inspect-fs-windows.c | 6 ++++++
src/journal.c | 5 +++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/src/inspect-apps.c b/src/inspect-apps.c
index 20cf00a..8fbae9c 100644
--- a/src/inspect-apps.c
+++ b/src/inspect-apps.c
@@ -35,11 +35,22 @@
#include <sys/endian.h>
#endif
-/* be32toh is usually a macro
2009 Sep 24
1
[PATCH libguestfs] maint: use spaces, not TABs for indentation
...ufferOut _ ->
pr " struct %s_ret ret;\n" name;
- true in
+ true in
pr " int serial;\n";
pr " int r;\n";
@@ -4835,7 +4835,7 @@ check_state (guestfs_h *g, const char *caller)
pr "\n";
pr " r = guestfs___recv (g, \"%s\", &hdr, &err,\n " shortname;
if not has_ret then
- pr "NULL, NULL"
+ pr "NULL, NULL"
else
pr "(xdrproc_t) xdr_guestfs_%s_ret, (char *) &ret" shortname;
pr ");\n";
--
1.6.5.rc2.17...
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
...*g, int proc_nr,
> * have no parameters.
> */
> if (xdrp) {
> - if (!(*xdrp) (&xdr, args)) {
> + if (!(*xdrp) (&xdr, args, 0)) {
> error (g, _("dispatch failed to marshal args"));
> return -1;
> }
> @@ -681,7 +681,7 @@ guestfs___recv (guestfs_h *g, const char *fn,
> return -1;
> }
> } else {
> - if (xdrp && ret && !xdrp (&xdr, ret)) {
> + if (xdrp && ret && !xdrp (&xdr, ret, 0)) {
> error (g, "%s: failed to parse reply", fn);
>...
2015 Feb 05
4
Patchable build problems on OS X 10.10
Hello,
I'm attempting to create a Homebrew formula to get libguestfs to
compile on Mac OS X. I've managed to achieve success with several
monkey patches, but since Homebrew's policy is to contact maintainers
about proper fixes in upstream, I would like to ask if there are any
plans to fix these issues. I'm afraid I don't know C well enough to
propose decent solutions myself.
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain
optional arguments, while preserving source and binary backwards
compatibility.
The problem is that we cannot add an optional argument to an existing
function. For example, we might want to add flags to the 'lvresize'
API which currently has no optional arguments.
2013 Aug 24
46
[PATCH 00/46] Proposed patches for libguestfs 1.20.11.
Tested with 'make check-release'.
tests/parallel (in check-slow) failed, although it does regularly and
that seems to be because of libvirt.
Rich.
2013 Aug 24
67
[PATCH 00/67] Proposed patches for libguestfs 1.22.6.
In the kernel and qemu communities it is routine for patches that will
be backported to stable branches to be posted for review. I'm
proposing we do the same for libguestfs stable branches.
All of the attached have been tested with 'make check-release'.
Rich.