Home | History | Annotate | Download | only in modules
History log of /src/lib/libc/citrus/modules/citrus_mapper_std.c
RevisionDateAuthorComments
 1.13  26-Feb-2025  andvar Fix typos in comments, mainly s/calcurate/calculate/.
 1.12  11-Jun-2018  maya branches: 1.12.14;
Avoid left-shifting a negative number in the non-compat case, too.
 1.11  11-Jun-2018  kamil Correct Undefined Behavior in libc/citrus

Unportable left shift reported with MKSANITIZER=yes USE_SANITIZER=undefined:

# nm /usr/lib/libc.so|grep sanit
/public/src.git/lib/libc/citrus/modules/citrus_mapper_std.c:173:8: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Sponsored by <The NetBSD Foundation>
 1.10  19-Nov-2011  tnozaki branches: 1.10.38;
fix memory leak, pointed by nonaka-san(again^3).
 1.9  30-Oct-2011  wiz branches: 1.9.2;
Use boolean AND instead of bitwise one in _DIAGASSERT.
From Henning Petersen in PR 45518.
 1.8  11-Sep-2006  tnozaki correct typo in _DIAGASSERT() and some KNF.
pointed by uebayashi-san, thanks!
 1.7  09-Sep-2006  tnozaki mapper_std iconv module and mkcsmapper(1) now can treat
plain-row-col charset and 4byte code(like GB18030) as SRC_ZONE.
 1.6  19-Mar-2006  christos Coveriry CID 2472: If the number of bits is invalid, return immediately
instead of accessing uninitialized variables.
 1.5  09-Feb-2006  dogcow change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.
 1.4  21-Dec-2004  yamt constify.
 1.3  12-Jul-2003  tshiozak separate "nonidentical conversion" and "ilseq" under csmapper.
"nonidentical" means "the input character index is valid, but not
corresponding to the output codeset."
"ilseq" means "the input character index is invalid for the input codeset."
 1.2  27-Jun-2003  tshiozak sync with the last change for citrus_hash.h.
 1.1  25-Jun-2003  tshiozak Citrus iconv support (1)
add core engine of Citrus iconv and some support routines.
- iconv core (citrus_iconv)
- coded character set mapper (csmapper)
- encoding scheme database (esdb)
- standard encoding scheme handler (stdenc)
- basic character set manipulation utilities (bcs)
- mmap based infrastructure (citrus_lookup/_mmap/_memstream/_db)
- some source codes of new plugins (not built yet)
 1.9.2.1  17-Apr-2012  yamt sync with head
 1.10.38.1  25-Jun-2018  pgoyette Sync with HEAD
 1.12.14.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed