]> sigrok.org Git - libsigrok.git/commit
srzip: Avoid low-level FD-based I/O
authorDaniel Elstner <redacted>
Sun, 20 Sep 2015 18:32:03 +0000 (20:32 +0200)
committerDaniel Elstner <redacted>
Thu, 1 Oct 2015 13:44:55 +0000 (15:44 +0200)
commit98654c99daf85bd2a81a9c87f517e800c31e34f2
tree9242c378aa22f5320fc372fb54b976fcfdd52ab1
parent5e1fb33469841b194e606752b865fa0d08b99067
srzip: Avoid low-level FD-based I/O

Use in-memory buffers instead of temporary files. This avoids
the need for low-level I/O on the FD returned by g_mkstemp().
Refactor the code accordingly. Also plug a number of leaks and
tighten the error checking.
src/libsigrok-internal.h
src/output/srzip.c