Displaying 2 results from an estimated 2 matches for "dd6aedbe9".
2018 Jan 22
2
[PATCH] lua, perl: Use thread-safe strerror_r instead of strerror (RHBZ#1536763).
---
generator/lua.ml | 22 +++++++++++++++-------
generator/perl.ml | 2 +-
lua/Makefile.am | 1 +
3 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/generator/lua.ml b/generator/lua.ml
index dd6aedbe9..7cfceb152 100644
--- a/generator/lua.ml
+++ b/generator/lua.ml
@@ -63,6 +63,8 @@ let generate_lua_c () =
#endif
#endif
+#include \"ignore-value.h\"
+
#include <guestfs.h>
#include \"guestfs-utils.h\"
@@ -142,6 +144,7 @@ guestfs_int_lua_create (lua_State *L)
gue...
2018 Jan 22
0
Re: [PATCH] lua, perl: Use thread-safe strerror_r instead of strerror (RHBZ#1536763).
...+++++++++++-------
> generator/perl.ml | 2 +-
> lua/Makefile.am | 1 +
> 3 files changed, 17 insertions(+), 8 deletions(-)
Ah, you just beat me to it... OTOH you missed the ruby binding, see
ruby/ext/guestfs/handle.c.
> diff --git a/generator/lua.ml b/generator/lua.ml
> index dd6aedbe9..7cfceb152 100644
> --- a/generator/lua.ml
> +++ b/generator/lua.ml
> @@ -63,6 +63,8 @@ let generate_lua_c () =
> #endif
> #endif
>
> +#include \"ignore-value.h\"
In my local version, ignore_value() was not needed in the lua bindings
Did you get a build failure w...