zip-reader: Switch to a more usual error reporting mechanism.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 23 Jan 2021 22:34:03 +0000 (14:34 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 25 Jan 2021 04:51:49 +0000 (20:51 -0800)
commit794fc7f31c6748f0f19db7d9b5e8345f00db86c3
tree2d34388539d8761962023666d514b020aed334c6
parent0cee80a89e120a53ab9ba048346881a33e0863df
zip-reader: Switch to a more usual error reporting mechanism.

Having the client pass in a string buffer was clever but it gave the
zip_reader some shared state with its client that will be difficult to
deal with in future use cases.
src/data/ods-reader.c
src/libpspp/zip-reader.c
src/libpspp/zip-reader.h
src/output/spv/spv.c
tests/libpspp/zip-test.c