diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-02 07:39:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-02 07:39:11 -0700 |
commit | 9f9fe7f0ea97f3a0b92ee532e38f7ea22151ef1a (patch) | |
tree | b25e6614e9f6c2ef05939f8c897a625b8a652c14 /tests/012/struct.expected | |
parent | 7ef09a3af8246fdd17f27855a93803162562acf3 (diff) | |
download | txr-9f9fe7f0ea97f3a0b92ee532e38f7ea22151ef1a.tar.gz txr-9f9fe7f0ea97f3a0b92ee532e38f7ea22151ef1a.tar.bz2 txr-9f9fe7f0ea97f3a0b92ee532e38f7ea22151ef1a.zip |
Slot cache fix: zero is a valid slot index.
struct.c (cacheline_lookup): return -1 when the id is not
found in the cacheline, rather than zero.
(lookup_slot): Test return value of cacheline_lookup
according to the above change.
Diffstat (limited to 'tests/012/struct.expected')
0 files changed, 0 insertions, 0 deletions