Problem: string buffers aren't NULL checked
fix mingw autoconf build

presence of "-no-undefined" seems to require dependent libraries to be
linked in.

as this file is autogenerated, someone needs to fix
"model/build-autoconf.gsl"
remove unused variable

when compiling with mingw, -Werror causes compilation to fail
fix size_t format specifier

%zd and %zu are C99, so this will still be problematic when compiling
files as C++ using Visual Studio.
Merge pull request #822 from pijyoi/master

minor fixes for mingw autoconf build
Merge pull request #823 from pmienk/master

Incorporate changes to src/Makemodule.am into the gsl and re-emit.
check more allocations against NULL
alloc fixups
style and code fixups
zmq_msg_data casting fixup
revert unneeded changes
fix typo
Fix build on OS X, complains about variable length array folded to constant array.
Rename ZSOCK_MAX_FRAMES to ZSOCK_BSEND_MAX_FRAMES for clarity. Bring back the previous comment.
Merge pull request #827 from jossgray/master

Fix build on OS X
Problem: zbeacon.c doesn't use self->poller
Solution: Remove self->poller
Fixes #794
Merge pull request #828 from jemc/master

Problem: zbeacon.c doesn't use self->poller
fix leaking file handle

Also updated zdir and zfile to check for truthness first
@xaqq according to the comment at the top of the function the filename
shall be stored even when a error occurs?
Wouldn’t a free(filename_copy) also nullify self->filename?
Merge branch 'master' into strndup
Merge pull request #824 from Asmod4n/strndup

Problem: string buffers aren't NULL checked