Displaying 2 results from an estimated 2 matches for "7d715df".
2018 Feb 09
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
...| 6 +++---
> lib/utf16.c | 38 ++++++++++++++++----------------------
> lib/value.c | 10 +++++-----
> lib/write.c | 4 ++--
> 6 files changed, 90 insertions(+), 42 deletions(-)
>
> diff --git a/lib/handle.c b/lib/handle.c
> index 9dcf81d..7d715df 100644
> --- a/lib/handle.c
> +++ b/lib/handle.c
> @@ -31,6 +31,9 @@
> #include <errno.h>
> #include <assert.h>
>
> +#include <iconv.h>
> +#include <pthread.h>
This makes hivex depend unconditionally on pthread. It's possible to
make this op...
2018 Feb 09
3
[PATCH] Add a cache for iconv_t handles to hive_t
...+++++++++++---------
lib/node.c | 6 +++---
lib/utf16.c | 38 ++++++++++++++++----------------------
lib/value.c | 10 +++++-----
lib/write.c | 4 ++--
6 files changed, 90 insertions(+), 42 deletions(-)
diff --git a/lib/handle.c b/lib/handle.c
index 9dcf81d..7d715df 100644
--- a/lib/handle.c
+++ b/lib/handle.c
@@ -31,6 +31,9 @@
#include <errno.h>
#include <assert.h>
+#include <iconv.h>
+#include <pthread.h>
+
#ifdef HAVE_MMAP
#include <sys/mman.h>
#else
@@ -62,6 +65,32 @@ header_checksum (const hive_h *h)
#define HIVEX_O...