Displaying 2 results from an estimated 2 matches for "3089a0a1".
2020 Apr 15
0
[PATCH nbdkit 1/9] common: Add a generic implementation of vectors.
...common/include/test-vector.c | 90 +++++++++++++++++++++++++++++++++
common/include/vector.h | 96 ++++++++++++++++++++++++++++++++++++
.gitignore | 1 +
4 files changed, 193 insertions(+)
diff --git a/common/include/Makefile.am b/common/include/Makefile.am
index 4482de37..3089a0a1 100644
--- a/common/include/Makefile.am
+++ b/common/include/Makefile.am
@@ -45,6 +45,7 @@ EXTRA_DIST = \
random.h \
rounding.h \
tvdiff.h \
+ vector.h \
$(NULL)
# Unit tests.
@@ -59,6 +60,7 @@ TESTS = \
test-nextnonzero \
test-random \
test-tvdiff \
+ test-vector \
$(NULL)
chec...
2020 Apr 15
18
[PATCH nbdkit 0/9] Generic vector, and pass $nbdkit_stdio_safe to shell scripts.
This was a rather longer trip around the houses than I anticipated!
The basic purpose of the patch series is to set $nbdkit_stdio_safe to
"0" or "1" in sh and eval plugin scripts.
To do that, I ended up adding a nicer way to manipulate environ lists,
and to do that, I ended up adding a whole generic vector
implementation which is applicable in a lot of different places.