[Forensics-changes] [yara] 26/368: Align structures to 8-byte boundaries for better performance
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.5.0
in repository yara.
commit 3f1cbf2a6bf2a962a71173e3ffb8a7d076b6523e
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Wed Jul 15 11:11:53 2015 +0200
Align structures to 8-byte boundaries for better performance
---
libyara/include/yara/arena.h | 2 +-
libyara/include/yara/types.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/include/yara/arena.h b/libyara/include/yara/arena.h
index f1cd451..5f11073 100644
--- a/libyara/include/yara/arena.h
+++ b/libyara/include/yara/arena.h
@@ -24,7 +24,7 @@ limitations under the License.
#define ARENA_FLAGS_FIXED_SIZE 1
#define ARENA_FLAGS_COALESCED 2
-#define ARENA_FILE_VERSION 8
+#define ARENA_FILE_VERSION 9
#define EOL ((size_t) -1)
diff --git a/libyara/include/yara/types.h b/libyara/include/yara/types.h
index 9866c6e..66708dd 100644
--- a/libyara/include/yara/types.h
+++ b/libyara/include/yara/types.h
@@ -38,7 +38,7 @@ typedef int32_t tidx_mask_t;
union { type name; int64_t name##_; }
#pragma pack(push)
-#pragma pack(1)
+#pragma pack(8)
#define NAMESPACE_TFLAGS_UNSATISFIED_GLOBAL 0x01
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list