Commit 0bf7e04
committed
index: preserve extension parsing errors
Previously, we would clobber any extension-specific error message with
an "extension is truncated" message. This makes `read_extension`
correctly preserve those errors, takes responsibility for truncation
errors, and adds a new message with the actual extension signature for
unsupported mandatory extensions.1 parent 635693d commit 0bf7e04
File tree
10 files changed
+54
-14
lines changed- docs
- src
- tests
- index
- resources/splitindex/.gitted
- info
- objects
- refs
10 files changed
+54
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
2526 | 2526 | | |
2527 | 2527 | | |
2528 | 2528 | | |
2529 | | - | |
| 2529 | + | |
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
| |||
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
2542 | | - | |
2543 | | - | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
2544 | 2546 | | |
2545 | 2547 | | |
2546 | 2548 | | |
2547 | 2549 | | |
2548 | 2550 | | |
2549 | 2551 | | |
2550 | | - | |
| 2552 | + | |
2551 | 2553 | | |
2552 | 2554 | | |
2553 | | - | |
| 2555 | + | |
2554 | 2556 | | |
2555 | 2557 | | |
2556 | | - | |
| 2558 | + | |
2557 | 2559 | | |
2558 | 2560 | | |
2559 | 2561 | | |
2560 | 2562 | | |
2561 | 2563 | | |
2562 | 2564 | | |
2563 | | - | |
| 2565 | + | |
| 2566 | + | |
2564 | 2567 | | |
2565 | 2568 | | |
2566 | | - | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
2567 | 2572 | | |
2568 | 2573 | | |
2569 | 2574 | | |
| |||
2645 | 2650 | | |
2646 | 2651 | | |
2647 | 2652 | | |
2648 | | - | |
2649 | | - | |
2650 | | - | |
2651 | | - | |
2652 | | - | |
| 2653 | + | |
2653 | 2654 | | |
2654 | 2655 | | |
2655 | 2656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Whitespace-only changes.
Whitespace-only changes.
Binary file not shown.
0 commit comments