Displaying 2 results from an estimated 2 matches for "b4cfc9f0".
2020 Apr 15
0
[PATCH nbdkit 9/9] eval, sh: Define $nbdkit_safe_stdio = 0|1 in scripts.
...env = copy_environ (environ,
+ "tmpdir", tmpdir,
+ "nbdkit_stdio_safe", stdio_safe_str,
+ NULL);
if (env == NULL)
goto error;
diff --git a/tests/test-single-sh.sh b/tests/test-single-sh.sh
index a1586868..b4cfc9f0 100755
--- a/tests/test-single-sh.sh
+++ b/tests/test-single-sh.sh
@@ -57,6 +57,10 @@ if test -f single-sh.log; then
fi
cat >single-sh.script <<\EOF
+if test "$nbdkit_stdio_safe" != "0"; then
+ echo "unexpected value for nbdkit_stdio_safe ($nbdkit_stdio_safe)&...
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.