Fix libxcb on Windows. The first commit fixes compile errors (and trivial runtime errors, such as calling close instead of closesocket). The second commit rewrites the writev() emulation in write_vec() to fix a couple of data corruption bugs.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Fix libxcb on Windows. The first commit fixes compile errors (and trivial runtime errors, such as calling close instead of closesocket). The second commit rewrites the writev() emulation in write_vec() to fix a couple of data corruption bugs.