Displaying 8 results from an estimated 8 matches for "9fd284b".
2020 Mar 12
0
[PATCH libnbd 3/3] build: Test new pkgconf file.
...e b/.gitignore
index 777471b..dea9274 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,6 +159,7 @@ Makefile.in
/tests/keys.psk
/tests/meta-base-allocation
/tests/oldstyle
+/tests/pkgconf.sh
/tests/pki/
/tests/read-only-flag
/tests/read-write-flag
diff --git a/configure.ac b/configure.ac
index 9fd284b..0200394 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,6 +414,8 @@ AC_CONFIG_FILES([run],
[chmod +x,-w run])
AC_CONFIG_FILES([sh/nbdsh],
[chmod +x,-w sh/nbdsh])
+AC_CONFIG_FILES([tests/pkgconf.sh],
+ [chmod +x,-w tests/pkgconf.sh])
AC_CONF...
2020 Mar 12
5
[PATCH libnbd 1/3] tests: Don't use <config.h> in simple compile tests.
For these simple compile tests where we want to ensure that a basic
external program could be compiled using libnbd, we shouldn't include
<config.h>. This is because we want to test here that <libnbd.h> can
stand alone, without needing anything defined by the GNU autotools
infrastructure.
Of course we can use <config.h> in other test programs where we aren't
evaluating
2020 Mar 12
0
[PATCH libnbd 2/3] build: Allow C programs using libnbd to be compiled against build dir.
...--git a/.gitignore b/.gitignore
index ec54b53..777471b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -90,6 +90,7 @@ Makefile.in
/lib/api.c
/lib/libnbd.pc
/lib/libnbd.syms
+/lib/local/libnbd.pc
/lib/states-run.c
/lib/states.c
/lib/states.h
diff --git a/configure.ac b/configure.ac
index 5e9bac4..9fd284b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -427,6 +427,7 @@ AC_CONFIG_FILES([Makefile
interop/Makefile
lib/Makefile
lib/libnbd.pc
+ lib/local/libnbd.pc
ocaml/Makefile
ocaml/META...
2020 Mar 17
0
[PATCH libnbd] Add outline framework for Go language bindings (golang).
...ions(+)
diff --git a/Makefile.am b/Makefile.am
index bf2db68..a9f13ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,8 @@ SUBDIRS = \
ocaml \
ocaml/examples \
ocaml/tests \
+ golang \
+ golang/examples \
interop \
fuzzing \
bash \
diff --git a/configure.ac b/configure.ac
index 9fd284b..36617fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -403,6 +403,34 @@ AS_IF([test "x$enable_python" != "xno"],[
AM_CONDITIONAL([HAVE_PYTHON],
[test "x$PYTHON" != "xno" && test "x$have_python_module" = "x1" ])
+dnl Gola...
2020 Mar 17
0
[PATCH libnbd v2 2/3] Add outline framework for Go language bindings (golang).
...ions(+)
diff --git a/Makefile.am b/Makefile.am
index bf2db68..a9f13ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,8 @@ SUBDIRS = \
ocaml \
ocaml/examples \
ocaml/tests \
+ golang \
+ golang/examples \
interop \
fuzzing \
bash \
diff --git a/configure.ac b/configure.ac
index 9fd284b..36617fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -403,6 +403,34 @@ AS_IF([test "x$enable_python" != "xno"],[
AM_CONDITIONAL([HAVE_PYTHON],
[test "x$PYTHON" != "xno" && test "x$have_python_module" = "x1" ])
+dnl Gola...
2020 Mar 17
5
[PATCH libnbd v2 0/3] Unfinished golang bindings.
These bindings get as far as running very simple connections.
However there are many missing parts still:
* No callbacks.
* No functions which handle buffers (pread/pwrite!)
This is posted just for general early interest, not even for review.
Rich.
2020 Mar 24
1
[PATCH libnbd v3] Add Go language bindings (golang) (RHBZ#1814538).
This feature is roughly finished now, although it needs a few more
tests and some examples.
It's pretty much up to par with all the other bindings, but it lacks a
completely safe AIO buffer. It won't stop you from freeing the buffer
too early) because golang's GC inexplicably lacks a way to declare a
root from C. I can probably do it with a global variable and ref
counting on the
2020 Mar 25
3
[PATCH libnbd v4] Add Go language bindings (golang) (RHBZ#1814538).
Now runs a complete set of tests, notably including the AIO test.
File descriptors are passed in and out as plain ints (instead of
*os.File) for a couple of reasons: (1) We have to pass the plain int
to syscall.Select. (2) Turning an fd into an os.File causes golang to
set the blocking flag which is deeply unhelpful.
Rich.