freebsd-dev/tools
Kyle Evans 2300a22c97 libc: iconv: add mb_cur_min for encoder traits
A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings.  To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change.  It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior.  UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D34344
2022-08-11 11:42:17 -05:00
..
boot tools/boot: Fix universe.sh's ZFS exclusion test 2022-07-24 16:53:34 -06:00
bsdbox
build libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
bus_space
coccinelle
debugscripts
diag ufs: Rework shortlink handling to avoid subobject overflows 2022-01-02 20:55:36 +00:00
ifnet
kerneldoc twa: Remove 2021-11-25 00:45:13 -07:00
LibraryReport
lua
pkgbase pkgbase: Fix a typo in a source code comment 2022-03-28 19:33:25 +02:00
regression Apply some style(9) to pthread tests 2022-03-31 21:37:57 -04:00
sched schedgraph.py: port to Python 3 2022-01-11 15:32:39 +02:00
test tools: test: iconv: fix open_2 to not segfault 2022-08-11 11:33:28 -05:00
tools git-arc: Fix the -y option 2022-07-13 09:30:17 -04:00
uma/smrstress tools/uma/smrstress: fix kthread exit 2022-07-31 00:40:12 +03:00
install.sh
make_libdeps.sh
README
tinder.sh

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.