[Libguestfs] [nbdkit PATCH 0/3] sh plugin fixes

Eric Blake eblake at redhat.com
Fri Aug 2 03:42:56 UTC 2019


I'm pushing the first one as blatantly obvious.

The second one is also simple enough, but not enough of a bug for me
to push tonight.

The third is something I noticed while working on sh, but is really
more about docs vs. plugins in general.  There, we could either change
the code to match the docs (breaking backwards behavior for a plugin
that set .errno_is_preserved=2) [what my patch did], or change the
docs to match the code (mention that any non-zero value will do).
Preference?

Eric Blake (3):
  sh: Fix flags when none are present
  sh: Avoid setenv after fork
  plugins: Match docs for .errno_is_preserved

 docs/nbdkit-plugin.pod | 16 ++++++++++++++++
 plugins/sh/call.c      |  3 ---
 plugins/sh/sh.c        |  8 ++++++++
 server/plugins.c       |  2 +-
 tests/test-shell.sh    | 15 +++++++++++++++
 5 files changed, 40 insertions(+), 4 deletions(-)

-- 
2.20.1




More information about the Libguestfs mailing list