search for: 585bd32c

Displaying 1 result from an estimated 1 matches for "585bd32c".

2019 Jul 02
1
[nbdkit PATCH] sh: Parse a larger number of error messages
...error. The script may print on stderr an errno and a -message, for example: +There was an error. The script may print on stderr an errno name, +optionally followed by whitespace and a message, for example: ENOSPC Out of space diff --git a/plugins/sh/call.c b/plugins/sh/call.c index f69523c1..585bd32c 100644 --- a/plugins/sh/call.c +++ b/plugins/sh/call.c @@ -42,6 +42,7 @@ #include <poll.h> #include <sys/types.h> #include <sys/wait.h> +#include <ctype.h> #include <nbdkit-plugin.h> @@ -267,32 +268,36 @@ static void handle_script_error (char *ebuf, size_t len)...