leitner
|
2a0bcc2fb6
|
implement deferred closing
|
8 years ago |
leitner
|
b73a699dab
|
reengineer alt queue handling to prevent race
|
8 years ago |
leitner
|
f9570b38a1
|
attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.
|
8 years ago |
leitner
|
8913f6174c
|
document race condition caused by queueing of multiple events
|
8 years ago |
leitner
|
3039d04915
|
version bump
|
8 years ago |
leitner
|
6aa0e5f643
|
document a few more changes
|
8 years ago |
leitner
|
f973d7f4ab
|
add mmap_readat (like mmap_read but open by fd, not by name)
|
8 years ago |
leitner
|
8d1f7f4024
|
make dep fix
|
8 years ago |
leitner
|
18615acf60
|
instead of calling mmap with a size of 0 (which will fail), skip the
syscall and fail directly
|
8 years ago |
leitner
|
c3c05dd884
|
use AT_FDCWD instead of -1
|
9 years ago |
leitner
|
5c999f4c62
|
add mmap_readat
|
9 years ago |
leitner
|
82b17dbfe3
|
add pread test
|
9 years ago |
leitner
|
137b80ea74
|
test for pread and use it instead of lseek+read in cdb and io_mmapwritefile
|
9 years ago |
leitner
|
79cc92ec6f
|
remove warning for crippled operating systems
|
9 years ago |
leitner
|
3872474e17
|
osx
|
9 years ago |
leitner
|
d020e6d88b
|
another gcc 6 warning fix
compile on osx again
remove asm version of i?mult64 (was needed only for clang because it
didn't have __uint128_t, but it now has it)
|
9 years ago |
leitner
|
d26b8082d8
|
shut up new gcc 6 warnings
|
9 years ago |
leitner
|
05e4dcc94a
|
stupid sign extension
|
9 years ago |
leitner
|
624412ce03
|
fix two issues found by clang's static analyser
|
9 years ago |
leitner
|
83712b7f23
|
attempt to support FreeBSD
|
9 years ago |
leitner
|
755ebfcb53
|
-fomit-leaf-frame-pointer was wrong even for gcc m(
|
9 years ago |
leitner
|
ffc648cc14
|
typo
|
9 years ago |
leitner
|
2208bdff68
|
gcc -> clang
|
9 years ago |
leitner
|
a1f1986247
|
include <foo> -> include "foo"
|
9 years ago |
leitner
|
48592a2400
|
-I.
|
9 years ago |
leitner
|
09c7eac41f
|
#include <> to ""
|
9 years ago |
leitner
|
dace178f25
|
add base64url support (forgot header)
compile byte/* with -O3
|
9 years ago |
leitner
|
7f829a36bc
|
add base64url support
|
9 years ago |
leitner
|
9ed7f82dc8
|
ar -> $(CROSS)ar
|
9 years ago |
leitner
|
ed507aad14
|
support $DESTDIR for make install targets
|
9 years ago |
leitner
|
fb6c39be63
|
special case buffer_get_token with token length 1 through memccpy (almost 4x speedup)
|
9 years ago |
leitner
|
9cfa19396e
|
special case buffer_get_token with token length 1 through memccpy
|
9 years ago |
leitner
|
9b2377c4be
|
fix operator precedence
|
9 years ago |
leitner
|
80a9933ff1
|
use static inline instead of extern inline
|
9 years ago |
leitner
|
774a4b6714
|
add unistd.h
|
9 years ago |
leitner
|
685ebdfb80
|
oops, did not actually flush the buffer
|
9 years ago |
leitner
|
a0cde0fee9
|
slight optimization for buffer_flush
|
9 years ago |
leitner
|
189d8bad1d
|
darwin compat
|
9 years ago |
leitner
|
f74f9b9b25
|
add socket_udp4b and socket_udp6b
|
9 years ago |
leitner
|
32a312b8f1
|
add marshaling code for protocol buffers
|
9 years ago |
leitner
|
6859c4b6ca
|
add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
|
9 years ago |
leitner
|
fb1f19042f
|
support gcc 5 builtins for multiplication overflow in safemult.h
fix copypasted comment in fmt_asn1dertag
add man pages for add_of, sub_of and assign
|
9 years ago |
leitner
|
6cfc16fc40
|
add gcc 5 integer overflow intrinsics support to rangecheck.h
in the process, identify a gnarly problem that was not only not found by
the test suite, there was a test testing for the wrong behavior!
|
9 years ago |
leitner
|
7bdc1b29bb
|
a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
|
9 years ago |
leitner
|
cdecd16ab3
|
add documentation
|
10 years ago |
leitner
|
e5865bcc52
|
fix timezone handling
|
10 years ago |
leitner
|
ac6979e4af
|
add scan_iso8601+test
|
10 years ago |
leitner
|
ad5ce55281
|
add fmt_iso8601
|
10 years ago |
leitner
|
695843c79e
|
small buffer optimization
fix botched noipv6 case in buffer_tcp6
|
10 years ago |
leitner
|
214ad3a92e
|
use gcc magic and a #define to convert buffer_puts to buffer_put if the
string argument length is known at compile time (same for
buffer_putsflush)
|
10 years ago |