Go to file
Arjun Shankar 7d4ec75e11 intl: Handle translation output codesets with suffixes [BZ #26383]
Commit 91927b7c76 (Rewrite iconv option parsing [BZ #19519]) did not
handle cases where the output codeset for translations (via the `gettext'
family of functions) might have a caller specified encoding suffix such as
TRANSLIT or IGNORE.  This led to a regression where translations did not
work when the codeset had a suffix.

This commit fixes the above issue by parsing any suffixes passed to
__dcigettext and adds two new test-cases to intl/tst-codeset.c to
verify correct behaviour.  The iconv-internal function __gconv_create_spec
and the static iconv-internal function gconv_destroy_spec are now visible
internally within glibc and used in intl/dcigettext.c.
2020-09-25 14:47:06 +02:00
argp
assert
benchtests bench-strcmp.c: Add workloads on page boundary 2020-09-24 10:46:38 -07:00
bits signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
catgets Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
ChangeLog.old Prepare for glibc 2.32 release. 2020-08-04 22:17:00 -04:00
conform
crypt
csu Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
ctype
debug signal: Move sys_siglist to a compat symbol 2020-07-07 14:10:58 -03:00
dirent
dlfcn
elf Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
gmon
gnulib
grp grp: Implement fgetgrent_r using __nss_fgetent_r 2020-07-21 07:34:15 +02:00
gshadow shadow: Implement fgetspent_r using __nss_fgetent_r 2020-07-21 07:34:43 +02:00
hesiod
htl Add the __libc_single_threaded variable 2020-07-06 11:15:58 +02:00
hurd hurd: Rework sbrk 2020-08-05 23:52:04 +02:00
iconv intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
iconvdata
include linux: Add time64 pselect support 2020-09-11 16:20:49 -03:00
inet Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
intl intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
io Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
libio Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
locale Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
localedata en_US: Minimize changes to date_fmt (Bug 25923) 2020-07-16 17:17:10 -04:00
login
mach
malloc Update mallinfo2 ABI, and test 2020-09-17 18:49:30 -04:00
manual <sys/platform/x86.h>: Add Intel Key Locker support 2020-09-16 05:56:10 -07:00
math math: Regenerate auto-libm-test-out-j0 2020-08-08 16:41:40 -03:00
mathvec
misc Define __THROW to noexcept for C++11 and later 2020-09-22 11:54:38 +01:00
nis Remove obsolete default/nss code 2020-08-29 11:42:39 +02:00
nptl y2038: nptl: Convert sem_{clock|timed}wait to support 64 bit time 2020-09-14 09:37:10 +02:00
nptl_db
nscd nscd: bump GC cycle during cache pruning (bug 26130) 2020-09-17 17:59:11 +02:00
nss Disable warnings due to deprecated libselinux symbols used by nss and nscd 2020-07-23 12:20:38 +02:00
po Update translations. 2020-08-04 20:31:51 -04:00
posix Fix handling of collating symbols in fnmatch (bug 26620) 2020-09-16 14:45:10 +02:00
pwd pwd: Implement fgetpwent_r using __nss_fgetent_r 2020-07-21 07:34:34 +02:00
resolv Move <rpc/netdb.h> from sunrpc to inet 2020-07-17 15:19:35 +02:00
resource
rt
scripts Add RISC-V 32-bit target to build-many-glibcs.py 2020-08-27 08:17:44 -07:00
setjmp
shadow shadow: Implement fgetspent_r using __nss_fgetent_r 2020-07-21 07:34:43 +02:00
signal signal: Move sys_siglist to a compat symbol 2020-07-07 14:10:58 -03:00
socket
soft-fp
stdio-common Fix memory leak in __printf_fp_l (bug 26215). 2020-07-09 21:52:24 +00:00
stdlib Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
string strcmp: Add a testcase for page boundary 2020-09-24 07:29:31 -07:00
sunrpc Move <rpc/netdb.h> from sunrpc to inet 2020-07-17 15:19:35 +02:00
support Correct timespec implementation [BZ #26232] 2020-07-14 04:42:58 -07:00
sysdeps powerpc: Protect dl_powerpc_cpu_features on INIT_ARCH() [BZ #26615] 2020-09-22 17:45:12 -03:00
sysvipc Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
termios
time Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
timezone
wcsmbs
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
config.h.in Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
config.make.in Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
configure Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
configure.ac Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL Regenerate INSTALL for ARC port updates. 2020-07-22 23:32:07 -04:00
libc-abis
libof-iterator.mk
LICENSES
MAINTAINERS
Makeconfig
Makefile Set locale related environment variables in debugglibc.sh 2020-09-24 14:58:36 +02:00
Makefile.help
Makefile.in
Makerules Don't mix linker error messages into edited scripts 2020-08-04 19:52:56 -04:00
NEWS Update mallinfo2 ABI, and test 2020-09-17 18:49:30 -04:00
o-iterator.mk
README Documentation for the RISC-V 32-bit port 2020-08-27 08:17:44 -07:00
Rules
shlib-versions Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
test-skeleton.c
version.h Open master branch for glibc 2.33 development. 2020-08-04 23:41:43 -04:00

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at https://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.