diff options
author | schmonz <schmonz@pkgsrc.org> | 2017-06-26 04:52:34 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2017-06-26 04:52:34 +0000 |
commit | df740d16602930e199db1b256b217874f6af5689 (patch) | |
tree | e9e779c6cbaad81bfd2a28ed47fd45affce0d2c2 /devel/libowfat/PLIST | |
parent | de81e3e827be9f327aeaf6d5cc5378ee3d3274ec (diff) | |
download | pkgsrc-df740d16602930e199db1b256b217874f6af5689.tar.gz |
Update to 0.31. From the changelog:
0.31:
special case buffer_get_token with token length 1 through memccpy (almost 4x speedup)
test for pread and use it instead of lseek+read in cdb and io_mmapwritefile
add mmap_readat (like mmap_read but open by fd, not by name)
add fmt_iso8601 and scan_iso8601 (time_t -> "2014-05-27T19:22:16Z")
add fmt_netstring and scan_netstring (http://cr.yp.to/proto/netstrings.txt)
add (fmt|scan)_varint and (fmt|scan)_pb_* (binary marshaling ala protocol buffers)
0.30:
add compiletimeassert.h
add haveuint128.h
byte.h now defines UNALIGNED_ACCESS_OK on x86
add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring
change buffer to have a destructor function pointer
SECURITY: fmt_strn would write one byte too many (returned right length though, so usually not a problem as that byte would be overwritten with \0 by the caller anyway)
fmt_pad and fmt_fill fail more gracefully when srclen > maxlen
You can now say $ make WERROR=-Werror (compiling t.c may fail but that's strictly speaking not part of the library)
scan_html now decodes HTML entities based on the actual w3c list (from entities.json, say gmake update to fetch the current version)
added fmt_escapechar* to fmt.h (implement various escaping mechanisms also found in textcode but for a single char not a whole string, and they always escape, not just when they think it's needed)
scan_ushort was supposed to abort early and return 5 when attempting to parse "65536", because the result does not fit. It did not. Now it does.
scan_*long, scan_*int, scan_*short now properly abort if the number would not fit
SECURITY: check for integer overflow in stralloc_ready
switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz)
fix buffer_get
add fmt_html_tagarg, fmt_xml, scan_html_tagarg
add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack
on Linux, in iob_send, if MSG_MORE is defined, and the request type
lends itself to it, used sendto/sendmsg with MSG_MORE instead of
TCP_CORK (saves two syscalls)
add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
more constness for stralloc and buffer
mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
if SOCK_NONBLOCK is defined, use it instead of socket+fcntl
... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney)
SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio)
add critbit
0.29:
save 8 bytes in taia.h for 64-bit systems
add buffer_tosa (buffer writing to auto-growing stralloc)
add iarray
support SCTP in addition to TCP
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)
add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
add awesome hack in isset.h (comex, Linus Torvalds)
add byte_equal_notimingattack
Diffstat (limited to 'devel/libowfat/PLIST')
-rw-r--r-- | devel/libowfat/PLIST | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/devel/libowfat/PLIST b/devel/libowfat/PLIST index 8468ba101d8..a95272ad41b 100644 --- a/devel/libowfat/PLIST +++ b/devel/libowfat/PLIST @@ -1,19 +1,23 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:48:55 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2017/06/26 04:52:34 schmonz Exp $ include/libowfat/array.h include/libowfat/buffer.h include/libowfat/byte.h include/libowfat/case.h include/libowfat/cdb.h include/libowfat/cdb_make.h +include/libowfat/compiletimeassert.h +include/libowfat/critbit.h include/libowfat/dns.h include/libowfat/errmsg.h include/libowfat/fmt.h include/libowfat/havealloca.h +include/libowfat/iarray.h include/libowfat/io.h include/libowfat/iob.h include/libowfat/iopause.h include/libowfat/ip4.h include/libowfat/ip6.h +include/libowfat/isset.h include/libowfat/mmap.h include/libowfat/ndelay.h include/libowfat/open.h @@ -31,7 +35,9 @@ include/libowfat/textcode.h include/libowfat/uint16.h include/libowfat/uint32.h include/libowfat/uint64.h +include/libowfat/va_narg.h lib/libowfat.a +man/man3/add_of.3 man/man3/array.3 man/man3/array_allocate.3 man/man3/array_bytes.3 @@ -49,10 +55,13 @@ man/man3/array_reset.3 man/man3/array_start.3 man/man3/array_trunc.3 man/man3/array_truncate.3 +man/man3/assign.3 man/man3/buffer.3 man/man3/buffer_close.3 man/man3/buffer_feed.3 man/man3/buffer_flush.3 +man/man3/buffer_fromarray.3 +man/man3/buffer_frombuf.3 man/man3/buffer_fromsa.3 man/man3/buffer_get.3 man/man3/buffer_get_new_token_sa.3 @@ -90,6 +99,7 @@ man/man3/buffer_putulong.3 man/man3/buffer_putulonglong.3 man/man3/buffer_putxlong.3 man/man3/buffer_seek.3 +man/man3/buffer_tosa.3 man/man3/byte_chr.3 man/man3/byte_copy.3 man/man3/byte_copyr.3 @@ -113,6 +123,11 @@ man/man3/cdb_keypos.3 man/man3/cdb_nextkey.3 man/man3/cdb_read.3 man/man3/cdb_successor.3 +man/man3/critbit0_allprefixed.3 +man/man3/critbit0_clear.3 +man/man3/critbit0_contains.3 +man/man3/critbit0_delete.3 +man/man3/critbit0_insert.3 man/man3/dns_ip4.3 man/man3/dns_ip4_packet.3 man/man3/dns_ip4_qualify.3 @@ -129,6 +144,8 @@ man/man3/dns_name_packet.3 man/man3/dns_txt.3 man/man3/dns_txt_packet.3 man/man3/fmt_8long.3 +man/man3/fmt_asn1derlength.3 +man/man3/fmt_asn1dertag.3 man/man3/fmt_double.3 man/man3/fmt_fill.3 man/man3/fmt_httpdate.3 @@ -140,20 +157,28 @@ man/man3/fmt_ip6_flat.3 man/man3/fmt_ip6c.3 man/man3/fmt_ip6if.3 man/man3/fmt_ip6ifc.3 +man/man3/fmt_iso8601.3 man/man3/fmt_long.3 man/man3/fmt_longlong.3 man/man3/fmt_minus.3 +man/man3/fmt_netstring.3 man/man3/fmt_pad.3 man/man3/fmt_plusminus.3 man/man3/fmt_str.3 +man/man3/fmt_strm.3 man/man3/fmt_strn.3 man/man3/fmt_uint.3 man/man3/fmt_uint0.3 man/man3/fmt_ulong.3 man/man3/fmt_ulong0.3 man/man3/fmt_ulonglong.3 +man/man3/fmt_utf8.3 man/man3/fmt_xlong.3 man/man3/fmt_xlonglong.3 +man/man3/iarray_allocate.3 +man/man3/iarray_free.3 +man/man3/iarray_get.3 +man/man3/iarray_init.3 man/man3/imult16.3 man/man3/imult32.3 man/man3/imult64.3 @@ -169,6 +194,8 @@ man/man3/io_dontwantread.3 man/man3/io_dontwantwrite.3 man/man3/io_eagain.3 man/man3/io_fd.3 +man/man3/io_fd_canwrite.3 +man/man3/io_fd_flags.3 man/man3/io_finishandshutdown.3 man/man3/io_getcookie.3 man/man3/io_nonblock.3 @@ -207,7 +234,9 @@ man/man3/iob_write.3 man/man3/iopause.3 man/man3/mmap_private.3 man/man3/mmap_read.3 +man/man3/mmap_readat.3 man/man3/mmap_shared.3 +man/man3/mmap_unmap.3 man/man3/ndelay_off.3 man/man3/ndelay_on.3 man/man3/open_append.3 @@ -230,6 +259,9 @@ man/man3/readclose_append.3 man/man3/scan_8int.3 man/man3/scan_8long.3 man/man3/scan_8short.3 +man/man3/scan_asn1derlength.3 +man/man3/scan_asn1derlengthvalue.3 +man/man3/scan_asn1dertag.3 man/man3/scan_charsetnskip.3 man/man3/scan_double.3 man/man3/scan_httpdate.3 @@ -238,8 +270,10 @@ man/man3/scan_ip4.3 man/man3/scan_ip6.3 man/man3/scan_ip6_flat.3 man/man3/scan_ip6if.3 +man/man3/scan_iso8601.3 man/man3/scan_long.3 man/man3/scan_longlong.3 +man/man3/scan_netstring.3 man/man3/scan_noncharsetnskip.3 man/man3/scan_nonwhitenskip.3 man/man3/scan_plusminus.3 @@ -248,6 +282,7 @@ man/man3/scan_uint.3 man/man3/scan_ulong.3 man/man3/scan_ulonglong.3 man/man3/scan_ushort.3 +man/man3/scan_utf8.3 man/man3/scan_whitenskip.3 man/man3/scan_xint.3 man/man3/scan_xlong.3 @@ -263,6 +298,9 @@ man/man3/socket_broadcast.3 man/man3/socket_connect4.3 man/man3/socket_connect6.3 man/man3/socket_connected.3 +man/man3/socket_fastopen.3 +man/man3/socket_fastopen_connect4.3 +man/man3/socket_fastopen_connect6.3 man/man3/socket_getifidx.3 man/man3/socket_getifname.3 man/man3/socket_listen.3 @@ -276,10 +314,15 @@ man/man3/socket_mcleave6.3 man/man3/socket_mcloop4.3 man/man3/socket_mcloop6.3 man/man3/socket_mcttl4.3 +man/man3/socket_quickack.3 man/man3/socket_recv4.3 man/man3/socket_recv6.3 man/man3/socket_remote4.3 man/man3/socket_remote6.3 +man/man3/socket_sctp4.3 +man/man3/socket_sctp4b.3 +man/man3/socket_sctp6.3 +man/man3/socket_sctp6b.3 man/man3/socket_send4.3 man/man3/socket_send6.3 man/man3/socket_tcp4.3 @@ -318,6 +361,7 @@ man/man3/stralloc_ready.3 man/man3/stralloc_readyplus.3 man/man3/stralloc_starts.3 man/man3/stralloc_zero.3 +man/man3/sub_of.3 man/man3/tai_add.3 man/man3/tai_approx.3 man/man3/tai_less.3 |