Commit Graph

930 Commits (5f9f1a2a623d73df8366d8ffa2ba01d40004ef29)
 

Author SHA1 Message Date
leitner 4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
leitner d17c2d1012 add functions to encode and decode integers in variable length binary
formats
leitner ad6c2d9ce7 add functions to encode and decode variable length integers in binary
leitner 662cf55fc9 accept -3 as error return from the callback, too
leitner c099365ec7 mingw compile fix
leitner b0886bc324 the iob calls return int, not void
leitner 82e6b4086b socket_remote4 does not need havescope.h
leitner f2a33b77ef change macros to inline functions to get rid of gcc warning
leitner bc6735c61c change macros to inline functions to get rid of strict aliasing gcc
warnings in code using them
leitner 45aa724a02 new makefile
leitner de36bc05f7 add __likely branch prediction hints
make inlining work in the face of gcc in non-gnu c99 mode
leitner faa5bad9fc fix io_receivefd so the incoming buffer is only 1 byte; io_passfd
sends only one byte, so we might receive (and discard) other data if
    we try to read more (Stefan Bühler, from the lightttpd project)
leitner d2aae4864c only try to receive one byte to avoid discarding data
leitner 928bfe5c09 for installed header files, add comment saying where they came from
leitner 2cb6a12c92 #include <errno.h>
leitner 3bed09a972 get rid of warning
leitner 3e16d08aa7 update Makefile for bsd
leitner 8e8788b8d5 split make install
leitner acd4fdb68b add/fix man pages
zero a buffer in io_passfd so valgrind does not complain when we pass it
to a syscall (which did not use the uninitialized parts anyway)
leitner b4469f1ed8 support SCTP in addition to TCP
leitner 89b88f036d make it compile again
leitner 25f6b4640a remove warning
leitner 6941446a7c clang support
leitner 5fd7bc834b remove iarray cruft until I ship it
leitner 84db4c0e24 windows fix
leitner fda93bdca7 add CAS.h
leitner 1fcfcd268a hups
leitner dfe8c9aa27 oops
leitner 51202765fe the #define extern hack in io_fd.c also included time.h, fix that
catch case in timeout loop where we have something to report on an fd;
in that case do not report a timeout but let the other event get through
first.
leitner 49e8257931 add #warning
leitner 1efee85ec0 test für erdgeist
leitner 9a71d11078 iopause.o dependency
leitner e2f9fa232e remove buffer_copy prototype
leitner 0db2088836 Makefile dependency update
leitner bb9cdaaafb add iarray
leitner e15f850fb9 Makefileupdate
leitner bb1bebe517 stralloc* not const char*
leitner 1e549e9ee2 add man page
leitner 02818883df add buffer_tosa (buffer writing to auto-growing stralloc)
leitner 1d76baf2ef save 8 bytes in taia.h for 64-bit systems
leitner 78306e451e typo
leitner 3a05576274 make gcc -ansi compatible
leitner 10ab3bf70a fix for 32-bit archs
leitner 3629bfd5a7 add non-asm version for gcc
leitner 25912d79cb one more test
leitner 988c04ad79 only define asm shortcut if the optimizer is on
leitner fd47173110 remove four warnings
leitner c5eca073b3 work around broken sqlite download httpd
leitner cef03a0cfe version bump
leitner 6d4c89ea72 byte_zero is also miscompiled by gcc 4.3.2