Closed jkbonfield closed 1 year ago
Looks OK, although I spotted a couple of TODOs for later.
fai_get_val()
fbeg
and fend
are hts_pos_t *
, but everything calling it passes int64_t *
. This affects more then the new function, so probably best tidied up separately.blen
check. I think there may be other issues around including such horrors, so I don't think it's a problem at the moment.
This exposes the input datas line wrap length (minus white-space / newlines).
Also fixed a SEGV in fai_retrieve given incorrect or malicious .fai files with a zero length "blen" figure.