leitner
|
3c68ae0dcc
|
scan_jsonescape ends when it sees an unescaped "
|
8 years ago |
leitner
|
da2a8332fe
|
move headers to <libowfat/> upon install
|
8 years ago |
leitner
|
a2f86a77b5
|
put includes into <libowfat/*.h>
|
8 years ago |
leitner
|
b067d41e63
|
check new json encoding
|
8 years ago |
leitner
|
c493b262ac
|
handle \n etc
|
8 years ago |
leitner
|
c29096b2e0
|
some more eagain handling in tryread and trywrite
cosmetic change
|
8 years ago |
leitner
|
26a193bff0
|
- and _ are also safe characters
|
8 years ago |
leitner
|
a7f74699da
|
add #include <string.h> for memset/strcpy
|
8 years ago |
leitner
|
6cd198cb98
|
remove unnecessary x86intrin.h include
|
8 years ago |
leitner
|
d862c9e482
|
"fmt.h" instead of <fmt.h>
|
8 years ago |
leitner
|
b4c4eb607e
|
remove OpenBSD #warning (obsd maintainer says no longer needed)
|
8 years ago |
leitner
|
1a53c2221a
|
add deferral code
|
8 years ago |
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 |