#
1.8 |
|
27-Jul-2022 |
guenther |
Since we only do US-ASCII and UTF-8, several parts of the locale data are unused and unnecessary, so delete them: rl_tabs, rl_magic, rl_encoding, and rl_invalid_rune.
ok schwarze@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.7 |
|
05-Sep-2017 |
schwarze |
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump.
|
#
1.6 |
|
05-Aug-2017 |
schwarze |
We only support ASCII and UTF-8, so we never need to change _ctype_, _tolower_tab_, and _toupper_tab_. No functional change. Suggested by and OK kettenis@
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.5 |
|
05-Sep-2016 |
schwarze |
Delete some abstraction that we don't and won't need. Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change.
No libc bump needed; only private functions are removed and change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.4 |
|
13-Sep-2015 |
guenther |
Wrap <ctype.h> and <wctype.h> so that calls go direct and the symbols not in standard C are all weak. Hide several symbols internal to the implementation
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.3 |
|
12-Nov-2013 |
deraadt |
ANSI prototype
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.2 |
|
10-Oct-2005 |
espie |
fix a few warnings, keep the crypt stuff for later. okay otto@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.1 |
|
07-Aug-2005 |
espie |
commit LC_CTYPE files from NetBSD/citrus, not yet linked in. okay deraadt@
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.7 |
|
05-Sep-2017 |
schwarze |
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump.
|
#
1.6 |
|
05-Aug-2017 |
schwarze |
We only support ASCII and UTF-8, so we never need to change _ctype_, _tolower_tab_, and _toupper_tab_. No functional change. Suggested by and OK kettenis@
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.5 |
|
05-Sep-2016 |
schwarze |
Delete some abstraction that we don't and won't need. Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change.
No libc bump needed; only private functions are removed and change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.4 |
|
13-Sep-2015 |
guenther |
Wrap <ctype.h> and <wctype.h> so that calls go direct and the symbols not in standard C are all weak. Hide several symbols internal to the implementation
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.3 |
|
12-Nov-2013 |
deraadt |
ANSI prototype
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.2 |
|
10-Oct-2005 |
espie |
fix a few warnings, keep the crypt stuff for later. okay otto@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.1 |
|
07-Aug-2005 |
espie |
commit LC_CTYPE files from NetBSD/citrus, not yet linked in. okay deraadt@
|