auronandace
003615a382
specify the correct arches
2026-03-07 16:03:14 +00:00
auronandace
38ff0b79bd
eliminate a useless comparison on aarch64 and riscv64
2026-03-07 15:51:24 +00:00
auronandace
1421463dac
assorted cleanups and add some lints
2026-03-02 10:01:05 +00:00
auronandace
c8747c97c3
clean up some as casts in locale
2026-02-19 14:45:18 +00:00
auronandace
ff392a029a
remove pthread_atfork from unistd and tackle some lints
2026-02-13 12:14:04 +00:00
auronandace
e8118dc293
removed the C locale bits header
2026-02-11 15:38:42 +00:00
auronandace
7d1582a555
add unused_imports lint
2026-02-10 15:55:32 +00:00
auronandace
64f18ca89a
add unused_mut lint
2026-02-08 09:00:14 +00:00
auronandace
a10d84a271
verify locale header includes
2026-02-05 10:21:11 +00:00
sourceturner
defd2ce7c3
Deny deny-unsafe_op_in_unsafe_fn on the crate level
2026-01-21 00:41:57 +01:00
Connor-GH
cedd1686ba
string.h: don't pollute the namespace with locale.h
...
Previously, we included all of `<locale.h>` in order to get `locale_t`.
This commit separates it into a `<bits/locale-t.h>` header (generated by
cbindgen) to better deal with this.
2026-01-20 14:29:08 -06:00
Connor-GH
0934bcf13e
Implement strxfrm_l, strcoll_l, and strerror_l
...
These implementations are effectively the same as the ones in musl.
2026-01-19 16:58:54 -06:00
sourceturner
827df02158
Use unsafe blocks in locale.h implementation
2026-01-16 21:49:01 +00:00
Jeremy Soller
806b3657f1
Merge branch 'setlocale-c' into 'master'
...
Fix setlocale with "C"
See merge request redox-os/relibc!845
2025-12-30 16:38:14 -07:00
auronandace
6696d26eb4
locale fnmatch dirent and ctype header cleanup
2025-12-30 20:57:47 +00:00
Wildan M
9734bdbde6
Fix setlocale with "C"
2025-12-31 02:29:55 +07:00
Wildan M
e67933ef1b
Use POSIX localedef format
2025-12-28 03:24:20 +07:00
Wildan M
a5035d68e3
Implement more locale.h functions
2025-12-27 22:24:41 +07:00
Jeremy Soller
c45d06e747
Add locale_t
2025-12-19 12:55:55 -07:00
auronandace
1ce298eaa9
only import needed types in locale and sched
2025-12-04 09:11:57 +00:00
auronandace
f0850889d2
update and add spec links to locale and sched
2025-12-04 09:08:14 +00:00
Jeremy Soller
82084440ad
Support nightly-2025-10-03
2025-10-03 21:51:10 -06:00
Jeremy Soller
b9e5b22f7d
Always return C locale from setlocale
2023-09-09 18:59:25 -06:00
Noa
df6f4678e8
Fix warnings
2023-05-30 13:46:17 -05:00
Jeremy Soller
21efe2d3a1
Clarify localeconv mutability
2022-12-16 20:10:01 -07:00
Jeremy Soller
0fab7f1864
Make localeconv return mutable pointer, matching specification
2022-12-16 19:55:13 -07:00
jD91mZM2
593925ceb4
Unambiguate all include guards
...
GNU binutils also uses _FNMATCH_H for a guard, maybe along others!
2020-06-29 11:34:51 +02:00
jD91mZM2
c7d499d4f2
Upgrade to the 2018 edition
...
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00:00
Jeremy Soller
7ab700315d
Fix warnings and add c_str
2018-08-26 15:15:29 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00