diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-18 18:08:20 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-18 18:08:20 +0200 |
| commit | fd3eda0da228d2417b8b7f9007533e214d7a5e80 (patch) | |
| tree | 58e0db94748e4dce663c2ecdc78a9faeb8d9b659 /internal/calendar/types_test.go | |
| parent | e713da2d796eabc55d407ad2f8488861e7598798 (diff) | |
| download | lectio-fd3eda0da228d2417b8b7f9007533e214d7a5e80.tar.gz lectio-fd3eda0da228d2417b8b7f9007533e214d7a5e80.zip | |
fix(clectio-gen): write the verse keys gzipped as well as plain
clectio's Makefile unpacks gen/verses_<form>.keys from the COMMITTED .gz, and
its clean target deletes the plain file. clectio-gen wrote only the plain one,
so regenerating the tables without separately re-gzipping the keys left
gen/liturgy_<form>.h indexing verses the packed text did not hold.
clectio then dereferenced a NULL verse pointer. That shipped: 1246 of the 10957
EF dates in the 2025-2054 range segfaulted, 11% of the calendar. OF was
unaffected -- its tables had not been regenerated since the keys were last
packed.
The two artefacts are generated together, so they are now written together and
cannot drift. OF's keys are byte-different after this (Go's gzip, not gzip(1))
but content-identical, verified.
Diffstat (limited to 'internal/calendar/types_test.go')
0 files changed, 0 insertions, 0 deletions
