Home | History | Annotate | Download | only in locale
History log of /src/lib/libc/locale/newlocale.c
RevisionDateAuthorComments
 1.5  20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.4  16-Apr-2023  mlelstv Fix parsing a locale string with multiple components.
Also check for truncation of a long locale string.
 1.3  13-Sep-2013  joerg branches: 1.3.4; 1.3.20; 1.3.30; 1.3.38;
Redo the locale cache to be constant. It now contains the localeconv()
data and which LC_MONETARY and LC_NUMERIC values it is derived from.
In newlocale(3) and setlocale(3), check for the existing entries and on
miss, create a new entry. This is currently not using a lock for the
list as the worst case is a small memory leak.
 1.2  17-May-2013  joerg branches: 1.2.2;
Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.1  30-Apr-2013  joerg Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.
 1.2.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.2  23-Jun-2013  tls resync from head
 1.2.2.1  17-May-2013  tls file newlocale.c was added on branch tls-maxphys on 2013-06-23 06:21:05 +0000
 1.3.38.1  02-May-2023  martin Pull up following revision(s) (requested by mlelstv in ticket #152):

lib/libc/locale/newlocale.c: revision 1.4

Fix parsing a locale string with multiple components.
Also check for truncation of a long locale string.
 1.3.30.1  02-May-2023  martin Pull up following revision(s) (requested by mlelstv in ticket #1630):

lib/libc/locale/newlocale.c: revision 1.4

Fix parsing a locale string with multiple components.
Also check for truncation of a long locale string.
 1.3.20.1  02-May-2023  martin Pull up following revision(s) (requested by mlelstv in ticket #1822):

lib/libc/locale/newlocale.c: revision 1.4

Fix parsing a locale string with multiple components.
Also check for truncation of a long locale string.
 1.3.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.4.1  13-Sep-2013  yamt file newlocale.c was added on branch yamt-pagecache on 2014-05-22 11:36:52 +0000

RSS XML Feed