Displaying 1 result from an estimated 1 matches for "2139cf62".
Did you mean:
1391f62
2020 Jun 04
0
[PATCH nbdkit] cc: Handle missing callbacks.
...nd this commit replicates that
handling. Except for .zero where the fallback is complex.
Thanks: Eric Blake
---
plugins/cc/cc.c | 50 +++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 44 insertions(+), 6 deletions(-)
diff --git a/plugins/cc/cc.c b/plugins/cc/cc.c
index 4d92be66..2139cf62 100644
--- a/plugins/cc/cc.c
+++ b/plugins/cc/cc.c
@@ -37,6 +37,7 @@
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
#include <dlfcn.h>
#define NBDKIT_API_VERSION 2
@@ -463,38 +464,75 @@ static int
cc_pwrite (void *handle, const...