chiark / gitweb /
shapelib: Implement check() as load() with dummy size
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 May 2022 11:13:25 +0000 (12:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 May 2022 22:18:07 +0000 (23:18 +0100)
commit8931e82b473da622a294c8550926453adfae150d
treeb6656c695e62af7077c68cad1bdd5d933091feec
parentcd8fe5097c35819461c44090b6afba0b3fdc613a
shapelib: Implement check() as load() with dummy size

We really want to know that we will be able to call load().  The
purpose is early detection of errors.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs