729 Commits

Author SHA1 Message Date
leitner
d17c2d1012 add functions to encode and decode integers in variable length binary
formats
2012-02-06 07:59:56 +00:00
leitner
ad6c2d9ce7 add functions to encode and decode variable length integers in binary 2012-02-06 07:55:48 +00:00
leitner
662cf55fc9 accept -3 as error return from the callback, too 2012-01-20 19:19:49 +00:00
leitner
c099365ec7 mingw compile fix 2012-01-13 03:20:32 +00:00
leitner
b0886bc324 the iob calls return int, not void 2012-01-13 02:25:31 +00:00
leitner
82e6b4086b socket_remote4 does not need havescope.h 2011-09-16 03:11:43 +00:00
leitner
f2a33b77ef change macros to inline functions to get rid of gcc warning 2011-04-28 14:31:55 +00:00
leitner
bc6735c61c change macros to inline functions to get rid of strict aliasing gcc
warnings in code using them
2011-04-28 14:28:53 +00:00
leitner
45aa724a02 new makefile 2011-02-24 18:10:36 +00:00
leitner
de36bc05f7 add __likely branch prediction hints
make inlining work in the face of gcc in non-gnu c99 mode
2010-11-05 03:07:47 +00:00
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)
2010-10-06 17:34:52 +00:00
leitner
d2aae4864c only try to receive one byte to avoid discarding data 2010-10-06 17:33:25 +00:00
leitner
928bfe5c09 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
leitner
2cb6a12c92 #include <errno.h> 2010-01-28 21:40:03 +00:00
leitner
3bed09a972 get rid of warning 2010-01-19 02:44:06 +00:00
leitner
3e16d08aa7 update Makefile for bsd 2010-01-19 02:41:34 +00:00
leitner
8e8788b8d5 split make install 2010-01-19 02:40:40 +00:00
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)
2010-01-18 19:51:00 +00:00
leitner
b4469f1ed8 support SCTP in addition to TCP 2010-01-18 19:49:03 +00:00
leitner
89b88f036d make it compile again 2009-11-12 10:52:43 +00:00
leitner
25f6b4640a remove warning 2009-10-27 23:20:21 +00:00
leitner
6941446a7c clang support 2009-10-27 16:33:00 +00:00
leitner
5fd7bc834b remove iarray cruft until I ship it 2009-09-12 23:03:02 +00:00
leitner
84db4c0e24 windows fix 2009-06-02 15:07:05 +00:00
leitner
fda93bdca7 add CAS.h 2009-05-28 00:46:54 +00:00
leitner
1fcfcd268a hups 2009-05-24 18:12:14 +00:00
leitner
dfe8c9aa27 oops 2009-04-30 18:11:08 +00:00
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.
2009-04-25 19:09:27 +00:00
leitner
49e8257931 add #warning 2009-04-09 18:03:38 +00:00
leitner
1efee85ec0 test für erdgeist 2009-04-08 21:27:37 +00:00
leitner
9a71d11078 iopause.o dependency 2009-03-25 14:34:30 +00:00
leitner
e2f9fa232e remove buffer_copy prototype 2009-03-18 11:58:00 +00:00
leitner
0db2088836 Makefile dependency update 2009-03-13 21:48:57 +00:00
leitner
bb9cdaaafb add iarray 2009-03-12 21:32:43 +00:00
leitner
e15f850fb9 Makefileupdate 2009-03-12 00:30:57 +00:00
leitner
bb1bebe517 stralloc* not const char* 2009-02-28 01:23:31 +00:00
leitner
1e549e9ee2 add man page 2009-02-28 00:12:49 +00:00
leitner
02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 2009-02-28 00:07:55 +00:00
leitner
1d76baf2ef save 8 bytes in taia.h for 64-bit systems 2009-02-15 01:02:15 +00:00
leitner
78306e451e typo 2009-01-13 19:26:09 +00:00
leitner
3a05576274 make gcc -ansi compatible 2009-01-04 03:11:57 +00:00
leitner
10ab3bf70a fix for 32-bit archs 2008-12-26 01:56:42 +00:00
leitner
3629bfd5a7 add non-asm version for gcc 2008-12-26 01:51:35 +00:00
leitner
25912d79cb one more test 2008-12-26 01:47:24 +00:00
leitner
988c04ad79 only define asm shortcut if the optimizer is on 2008-12-26 01:25:55 +00:00
leitner
fd47173110 remove four warnings 2008-12-08 22:55:02 +00:00
leitner
c5eca073b3 work around broken sqlite download httpd 2008-11-27 14:32:29 +00:00
leitner
cef03a0cfe version bump 2008-11-15 16:14:19 +00:00
leitner
6d4c89ea72 byte_zero is also miscompiled by gcc 4.3.2 2008-10-25 21:21:46 +00:00
leitner
4678c3c08e gcc 4.3.2 miscompiles byte_diff :-( 2008-10-13 16:08:52 +00:00