[med-svn] [libhat-trie] 01/03: New upstream version 0.1.2
Sascha Steinbiss
satta at debian.org
Mon Jun 19 09:58:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository libhat-trie.
commit f81caa4da8c740cf23577a4f72024a204b99a890
Author: Sascha Steinbiss <satta at debian.org>
Date: Mon Jun 19 11:48:51 2017 +0200
New upstream version 0.1.2
---
configure.ac | 2 +-
src/Makefile.am | 2 +-
src/ahtable.c | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8acc767..d4912fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
-AC_INIT([hat-trie], [0.1.1], [dcjones at cs.washington.edu])
+AC_INIT([hat-trie], [0.1.2], [dcjones at cs.washington.edu])
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/src/Makefile.am b/src/Makefile.am
index 942bc65..7c1a0d7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,5 +7,5 @@ libhat_trie_la_SOURCES = common.h \
misc.h misc.c \
murmurhash3.h murmurhash3.c
-pkginclude_HEADERS = hat-trie.h ahtable.h common.h pstdint.h
+pkginclude_HEADERS = hat-trie.h ahtable.h common.h pstdint.h portable_endian.h
diff --git a/src/ahtable.c b/src/ahtable.c
index 8f9c23d..f71ab86 100644
--- a/src/ahtable.c
+++ b/src/ahtable.c
@@ -91,11 +91,12 @@ static uint8_t read_u64bit_to_size_t(size_t* dest, FILE* fd)
{
uint64_t value;
fread(&value, sizeof(uint64_t), 1, fd);
+ value = be64toh(value);
if (value > (size_t)-1) {
printf("Unable to load 64-bit data from file\n");
return 0;
} else {
- *dest = (size_t)be64toh(value);
+ *dest = (size_t)value;
return 1;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhat-trie.git
More information about the debian-med-commit
mailing list