]> sigrok.org Git - libsigrok.git/commit
zip: Provide fallback if zip_discard() is unavailable
authorDaniel Elstner <redacted>
Fri, 30 Oct 2015 14:07:25 +0000 (15:07 +0100)
committerDaniel Elstner <redacted>
Fri, 30 Oct 2015 14:09:46 +0000 (15:09 +0100)
commita6dc3dacab23bf7c8da008f21a03e2a1242e77ea
tree7271747571af4383e3549a02f36d1a37c8007da4
parent014512254abcc74d203376f2e038053b94cf1116
zip: Provide fallback if zip_discard() is unavailable

zip_discard() was introduced in libzip 0.11, which some systems
do not have yet. Provide a fallback replacement for zip_discard(),
and reduce the requirement to libzip 0.10 again.

This fixes bug #674.
README
configure.ac
src/libsigrok-internal.h
src/session_file.c