Fixes an issue where calling zloop_poller_end from handler causes potential uninitialised read on during the iteration
Merge pull request #173 from pijyoi/master

vsnprintf: use stack buffer
Merge pull request #174 from mkoppanen/zloop-rebuild-on-end

zloop_poller_end
zframe_reset_zero_copy removed due to multiple errors
- if free_fn is null, ignores data
- at end, copies data in any case, so isn't zero-copy
- makes API complex for uncertain benefit
Zero-copy methods slated for removal

There are multiple problems with these methods but mainly the accumulation
of technical debt for uncertain benefit. It makes the CZMQ API complex and
is arguably a case of premature optimization. Real zero-copy use cases are
very rare and they can work directly with the zmq_msg API. The zero-copy
semantics have also leaked in confusing ways (e.g. zframe_freefn). Some of
the methods copied data in any case.

If we really want a zero copy API in CZMQ we should put this into a
single znocopy module with clear semantics, and we should design a nicer
zero-copy API.
Ignoring ENOTSOCK error from zsock_set_linger
Adding a more informational assert
Merge pull request #176 from jlopezr/master

Generates a more informative assert when the user calls zsocket_destroy with a void** instead of a void*
Merge pull request #177 from hintjens/master

Marking zero-copy methods as deprecated
zcurve: fix unused variable errors

Fix serveral places where zcurve build would fail because
of unused variables if libsodium not enabled.
zsockopt: fix prototype mismatch

Build fails if GCC -Werror because prototypes don't match function
definition.
Merge pull request #179 from shemminger/v1.4.x-fixes

V1.4.x fixes
Cosmetic change to source header formatting
Added zconfig module

This saves and loads ZPL format text files. We use this already in FileMQ
for configuration, and I want to use it for CurveZMQ certificates as well.
The alternative is to use a flat file format like RFC 4716, but that does
not allow us to store multiple keys in one file, which would be useful
for authentication (e.g. server holding client long-term public keys in a
single file). ZPL is useful for any kind of configuration, so adding this
to CZMQ seems useful.

Note that this code originated in libzfl, and has lived for a while in
FileMQ (which will now use the zconfig class instead).
Methods to allow creation of private files
Using 'class' everywhere for consistency
Testing Travis CI
Regenerated source code to match headers
Fixed const on string options
Added cast from zmalloc, and STRONGER WARNINGS