summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-02-25 22:49:56 -0500
committermidipix <writeonce@midipix.org>2020-05-23 05:59:02 +0000
commit76f8c51055cb1b69d087b113453764227160bc05 (patch)
tree8aa11368b3d06d53642a9ca9fc90fcef64f81d0a /src/internal
parent8fb8f962f58680a040390d42ab412e27f5e93a3d (diff)
downloadtpax-76f8c51055cb1b69d087b113453764227160bc05.tar.bz2
tpax-76f8c51055cb1b69d087b113453764227160bc05.tar.xz
driver: write & copy modes: pre-allocate a robust-file-copy memory region.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/tpax_driver_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h
index c99553a..56c40b2 100644
--- a/src/internal/tpax_driver_impl.h
+++ b/src/internal/tpax_driver_impl.h
@@ -50,6 +50,8 @@ struct tpax_driver_ctx_impl {
struct tpax_error_info ** erricap;
struct tpax_error_info * erriptr[64];
struct tpax_error_info erribuf[64];
+ void * bufaddr;
+ size_t bufsize;
};
struct tpax_unit_ctx_impl {