1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/lib
Tijl Coosemans 204957ef5e Bug fixes in iconv(3) UTF-7 support.
- Add ' to the list of directly encoded characters and * to the list of
  optionally directly encoded characters as per RFC 2152.

- In _citrus_UTF7_mbtoutf16 on end of input when the next output character
  has only been partially decoded, save a copy of the buffer of input
  characters (not just its length).  On the next call with more input
  characters this buffer is reprocessed together with the new input to
  form a fully decoded output character.

- At the end of a base64 encoded sequence fully discard '-' (BASE64_OUT)
  by decrementing psenc->chlen and i.  This is needed to make room in
  psenc->ch (input buffer) in case the next input character starts a new
  base64 encoded sequence.  And also, if this is the end of input and no
  output character can be returned, this brings the encoder in the initial
  state as indicated by _citrus_UTF7_stdenc_get_state_desc_generic which
  is used by the caller to distinguish between no output and partial
  output.

- In _citrus_UTF7_mbrtowc_priv pass the s parameter (input pointer)
  directly to _citrus_UTF7_mbtoutf16 instead of a copy (s0).  This way s
  is updated correctly in case of errors.

- In _citrus_UTF7_mbrtowc_priv when called with psenc->surrogate set
  (previous call did not have enough input), retrieve the previously
  decoded UTF-16 character from (psenc->cache >> psenc->bits) instead of
  (psenc->cache >> 2).

MFC after:	5 days
2013-11-18 18:14:23 +00:00
..
atf MFV: Import atf-0.18. 2013-11-17 23:51:19 +00:00
clang Update LLDB to upstream r194122 snapshot 2013-11-12 17:25:33 +00:00
csu Use the size of the MACHINE_ARCH string instead of sizeof(uint32_t). It can 2013-10-27 23:48:59 +00:00
libalias
libarchive Temporarily disable iconv for non-shared library builds. The dynamic 2013-09-26 17:55:36 +00:00
libauditd
libbegemot
libblocksruntime
libbluetooth
libbsm
libbsnmp
libbz2
libc Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
libc_nonshared Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
libc++ Add a c++/v1/tr1 include directory containing symlinks to all of the standard 2013-09-04 15:02:14 +00:00
libcalendar
libcam Add missing header. 2013-10-30 15:46:50 +00:00
libcom_err
libcompat
libcompiler_rt Unconditionally compile the __sync_* atomics support functions into compiler-rt 2013-08-31 08:50:45 +00:00
libcrypt Set up the /usr/tests hierarchy. 2013-10-25 05:25:19 +00:00
libcxxrt
libdevinfo
libdevstat
libdwarf When decoding SLEB128, make sure sign extension is performed for 2013-06-30 21:06:47 +00:00
libedit Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL). 2013-09-26 17:54:58 +00:00
libefi
libelf Add support to the ARM platform specific section types. 2013-08-31 18:13:20 +00:00
libexecinfo Don't install private libexecinfo headers 2013-09-03 13:31:43 +00:00
libexpat
libfetch Even though it doesn't really make sense in the context of a CONNECT 2013-08-22 07:43:36 +00:00
libgeom Since there's no defined schema for the XML that's generated by the 2013-07-19 06:42:15 +00:00
libgpib
libgssapi
libiconv
libiconv_modules Bug fixes in iconv(3) UTF-7 support. 2013-11-18 18:14:23 +00:00
libipsec
libipx
libjail
libkiconv The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
libkse
libkvm Revert r256514 for libkvm. It wasn't correct actually and breaks build. 2013-10-15 13:53:35 +00:00
libldns LDNS needs OpenSSL. This wasn't a problem as long as it was only build 2013-09-08 19:39:18 +00:00
liblzma
libmagic
libmandoc
libmd
libmemstat Refine UMA bucket allocation to reduce space consumption and improve 2013-06-18 04:50:20 +00:00
libmilter
libmp
libnandfs
libnetbsd
libnetgraph Remove ng_fec(4). 2013-10-28 14:47:33 +00:00
libngatm
libnv Bring in libnv library for managing name/value pairs. The following types 2013-11-12 19:39:14 +00:00
libopie
libpam Make libldns and libssh private. 2013-09-08 10:04:26 +00:00
libpcap
libpmc
libproc Consistently add the relocation offset only when the ELF type is not 2013-11-11 16:57:57 +00:00
libprocstat Handle the cases where NULL is passed as cap_rightsp to the 2013-10-09 20:58:50 +00:00
libradius
librpcsec_gss
librpcsvc
librt Convert this piece of code to use C11 atomics. 2013-06-30 08:59:33 +00:00
librtld_db
libsbuf
libsdp
libsm
libsmb Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
libsmdb
libsmutil
libstand Unbreak zfsloader with LOADER_TFTP_SUPPORT on 2013-10-09 21:33:19 +00:00
libstdbuf
libstdthreads
libtacplus
libtelnet
libthr The SUSv4tc1 requires that pthread_setcancelstate() shall be not a 2013-06-19 04:47:41 +00:00
libthread_db Ensure we set all fpu registers to zero by using the address and size of 2013-08-17 14:42:40 +00:00
libufs
libugidfw
libulog
libunbound Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
libusb Correct two comments. 2013-09-05 12:21:11 +00:00
libusbhid
libutil Indicate that expand_number is case-insensitive. 2013-11-12 00:56:22 +00:00
libvgl
libvmmapi Move the ioapic device model from userspace into vmm.ko. This is needed for 2013-11-12 22:51:03 +00:00
libwrap
liby
libyaml Rename libbsdyml to libyaml, make private, and bump 2013-10-14 18:31:15 +00:00
libypclnt
libz Fix up FreeBSD tag for files not from a vendor branch 2013-10-31 18:44:40 +00:00
msun Yet, another attempt to fix the libm breakage due to the 2013-11-07 22:46:13 +00:00
ncurses
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile.inc