diff options
author | Justus Winter <[email protected]> | 2017-03-16 15:58:00 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-03-17 09:34:15 +0000 |
commit | 38c955599f7c6c20faeec57d8e1df7d2c0eeba18 (patch) | |
tree | 43b73d45a00cbce1fc43e8c39f7d1e5a50061f4b /dirmngr | |
parent | agent,g10: Remove redundant SERIALNO request. (diff) | |
download | gnupg-38c955599f7c6c20faeec57d8e1df7d2c0eeba18.tar.gz gnupg-38c955599f7c6c20faeec57d8e1df7d2c0eeba18.zip |
gpgscm: Remove framework for immediate values.
* tests/gpgscm/scheme.c (IMMEDIATE_TAG): Remove macro.
(is_immediate): Likewise.
(set_immediate): Likewise.
(clr_immediate): Likewise.
(enum scheme_types): Set the LSB in every value.
(fill_vector): Adapt.
(vector_elem): Likewise.
(set_vector_elem): Likewise.
(mark): Likewise.
(gc): Test for the LSB to tell typeflags apart from pointers stored in
the same memory location.
--
Supporting immediate values would require invasive changes to the
interpreter and is likely not worth the trouble. On the other hand,
tagging pointers in vectors complicated the hash table implementation
needlessly. Therefore, I remove this again.
This fixes a crash on big endian architectures.
GnuPG-bug-id: 2996
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions