Displaying 2 results from an estimated 2 matches for "8d99042".
2020 Oct 27
0
[PATCH libnbd 1/5] common/utils: Copy simple vector library from nbdkit.
..., .alloc = 0 }
+
+struct generic_vector {
+ void *ptr;
+ size_t size;
+ size_t alloc;
+};
+
+extern int generic_vector_reserve (struct generic_vector *v,
+ size_t n, size_t itemsize);
+
+#endif /* NBDKIT_VECTOR_H */
diff --git a/configure.ac b/configure.ac
index 8d99042..1322f81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -450,6 +450,7 @@ AC_CONFIG_FILES([sh/nbdsh],
AC_CONFIG_FILES([Makefile
bash/Makefile
common/include/Makefile
+ common/utils/Makefile
copy/Makefile
docs/M...
2020 Oct 27
6
[PATCH libnbd 0/5] info: --map: Coalesce adjacent extents of the same type.
This adds coalescing of adjacent extents of the same type, as
mentioned by Eric Blake in the commit message here:
https://github.com/libguestfs/libnbd/commit/46072f6611f80245846a445766da071e457b00cd
The patch series is rather long because it detours through adding the
<vector.h> library from nbdkit into libnbd and replacing ad hoc uses
of realloc, char ** etc in various places.
Rich.