I pushed this one which checks for API violations in all cases at the
small cost of storing an extra int64_t in the struct:
https://github.com/libguestfs/nbdkit/commit/24ba2105bee4e884ea88fffc9d42b...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW