Commit Graph

3585 Commits

Author SHA1 Message Date
Jeremy Soller 807e66cab6 Merge branch 'tzset-test-fix' into 'master'
widen unsafe blocks to fix tzset test

See merge request redox-os/relibc!923
2026-01-28 14:10:07 -07:00
auronandace b027b77dbf widen unsafe blocks to fix tzset test 2026-01-28 20:56:29 +00:00
Jeremy Soller 8d68023059 Merge branch 'disable-o_noatime-test' into 'master'
Disable O_NOATIME test

See merge request redox-os/relibc!922
2026-01-28 13:09:03 -07:00
Josh Megnauth b29b49bdf4 Disable O_NOATIME test
Redox doesn't have it.
2026-01-28 14:23:00 -05:00
Jeremy Soller 9ab384440c Merge branch 'sysptrace-ifaddrs-cleanup' into 'master'
sys_ptrace and ifaddrs header cleanup

See merge request redox-os/relibc!921
2026-01-28 11:46:46 -07:00
auronandace a9d64bd3d4 sys_ptrace and ifaddrs header cleanup 2026-01-28 18:24:32 +00:00
Jeremy Soller eb0fc58155 Merge branch 'master' into 'master'
fix(Makefile): coloured messages

See merge request redox-os/relibc!920
2026-01-28 08:48:34 -07:00
Anhad Singh b6a955be0e fix(Makefile): coloured messages
From `man 1 echo`:
> -e     Enable interpretation of backslash escapes.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-29 02:20:51 +11:00
Jeremy Soller 0bb9632884 Merge branch 'sysepoll-dltls-cleanup' into 'master'
sys_epoll and dl-tls header cleanup

See merge request redox-os/relibc!919
2026-01-28 07:00:39 -07:00
auronandace 714a1b6766 sys_epoll and dl-tls header cleanup 2026-01-28 11:21:43 +00:00
Jeremy Soller dff1e17baa Merge branch 'master' into 'master'
misc(pthread/mutex): cleanup

See merge request redox-os/relibc!918
2026-01-27 09:18:29 -07:00
Anhad Singh 2f8f12e3c7 misc(pthread/mutex): cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-28 01:05:11 +11:00
Jeremy Soller 30097af0cd Merge branch 'wchar-cpp' into 'master'
Fixes to enable wide character in C++

See merge request redox-os/relibc!916
2026-01-27 06:04:01 -07:00
Jeremy Soller 199d635c84 Merge branch 'master' into 'master'
fix(pthread/mutex): broken `pthread_mutexattr_*`

See merge request redox-os/relibc!917
2026-01-27 04:11:49 -07:00
Anhad Singh d82240f228 fix(pthread/mutex): broken pthread_mutexattr_*
Regression of https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/890

* The unsafe block needs to be moved *outside* to make sure the `attr`
  is mutated.
* `RlctMutexAttr` was `Copy` which is not required.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-27 19:31:14 +11:00
Wildan M 1acf1d83cc Temporarily enable wcsftime and wcsxfrm 2026-01-27 15:27:45 +07:00
Wildan M 2c522c355f Fix wchar_t redefinition in C++ 2026-01-27 14:40:23 +07:00
Jeremy Soller 5cadc9ebbd Merge branch 'trace-log-crate' into 'master'
Implement configurable log from env

Closes redox#1770

See merge request redox-os/relibc!913
2026-01-25 07:08:47 -07:00
Jeremy Soller 7ecba809b5 Merge branch 'size-max-i586' into 'master'
Fix SIZE_MAX for i586

See merge request redox-os/relibc!915
2026-01-24 18:16:27 -07:00
Wildan M 59bd6a62db Fix changing log level 2026-01-25 05:56:27 +07:00
Jeremy Soller f6b1f78766 Merge branch 'more-open-tests' into 'master'
Add more 'open' tests

See merge request redox-os/relibc!914
2026-01-24 15:34:25 -07:00
Josh Megnauth 02f766b8df Add more 'open' tests 2026-01-24 15:34:24 -07:00
Wildan M f15322453b Convert all println to log or todo 2026-01-25 05:27:38 +07:00
Wildan M 9711dcca51 Implement logger and todo macros 2026-01-25 04:55:18 +07:00
Wildan M 632b3a9a4f Fix SIZE_MAX for i586 2026-01-25 01:09:39 +07:00
Wildan M 7b9402783d Add log crate, use it to all trace cmd 2026-01-24 22:39:05 +07:00
Jeremy Soller 954c806d80 Merge branch 'posix_close-impl' into 'master'
unistd/mod.rs: implement posix_close

See merge request redox-os/relibc!912
2026-01-23 15:10:36 -07:00
Connor-GH e5997cf828 unistd/mod.rs: implement posix_close
This is a valid implementation according to POSIX,
as long as we do not support `POSIX_CLOSE_RESTART`.
2026-01-23 15:52:54 -06:00
Jeremy Soller ee648a4e57 Merge branch 'stdio.h-regex.h-add-macros' into 'master'
stdio.h: add std{in,out,err} macros; regex.h: add REG_MINIMAL macro

See merge request redox-os/relibc!911
2026-01-23 08:46:11 -07:00
Connor-GH 6356142c79 stdio.h: add std{in,out,err} macros; regex.h: add REG_MINIMAL macro 2026-01-23 09:41:19 -06:00
Jeremy Soller 599d60e404 Merge branch 'unixpeername' into 'master'
Fix unixpeername expected stdout

See merge request redox-os/relibc!910
2026-01-23 06:49:55 -07:00
Jeremy Soller 538fed80a0 Merge branch 'getaddrinfo-hang' into 'master'
Fix getaddrinfo hang due to infinite loop

See merge request redox-os/relibc!909
2026-01-23 00:25:10 -07:00
Jeremy Soller 1445c2385d Merge branch 'p12' into 'master'
fix(pthread/tls): destructors

See merge request redox-os/relibc!908
2026-01-22 23:49:22 -07:00
Anhad Singh f3d16d3fbd fix(pthread/tls): nit
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-23 14:29:35 +11:00
Anhad Singh b6914ef239 feat(pthread/tls): more tests
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-23 14:27:47 +11:00
Anhad Singh 0f4a82b5e8 fix(pthread/tls): destructors
Also added tests for it.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-23 14:24:43 +11:00
Jeremy Soller ba99b7940c Merge branch 'langinfo.h-posix-2024' into 'master'
langinfo.h: add macros and a function for POSIX 2024

See merge request redox-os/relibc!907
2026-01-22 17:19:35 -07:00
Connor-GH 0baee310eb langinfo.h: add macros and a function for POSIX 2024
Additionally, the `CRNCYSTR` string was in the wrong place in
the string table. This has been fixed.

This completes all requirements for Sortie's os-test for the "include"
section of langinfo.
2026-01-22 18:11:32 -06:00
Jeremy Soller c2d759bfd1 Merge branch 'multiple_sigs' into 'master'
misc signal fixes

See merge request redox-os/relibc!873
2026-01-22 07:35:04 -07:00
Jacob Lorentzon eeba32b3a2 misc signal fixes 2026-01-22 07:35:04 -07:00
Jeremy Soller 1cba18f299 Merge branch 'ctype.h-locale-functions-impl' into 'master'
ctype/mod.rs: add locale_t type definition

See merge request redox-os/relibc!906
2026-01-22 07:29:56 -07:00
Connor-GH 7beaba6bce ctype/mod.rs: add locale_t type definition 2026-01-22 08:26:56 -06:00
Jeremy Soller a65c9282e6 Merge branch 'ctype.h-locale-functions-impl' into 'master'
ctype.h: add *_l family of functions

See merge request redox-os/relibc!905
2026-01-22 06:52:31 -07:00
Connor-GH 71d192fa4c ctype.h: add *_l family of functions
This commit adds all of the locale-based versions of the ctype
functions, like `isalpha_l`. This allows 14 more tests to pass for
os-test.
2026-01-22 07:39:24 -06:00
Wildan M 675a60bd9a Fix unixpeername expected stdout 2026-01-22 19:06:29 +07:00
Wildan M 6a455159ae Fix getaddrinfo hang due to infinite loop 2026-01-22 16:48:13 +07:00
Jeremy Soller 576fd5fe01 Merge branch 'ctype.h-locale_t-fix' into 'master'
ctype.h: add locale_t type

See merge request redox-os/relibc!904
2026-01-21 18:23:54 -07:00
Connor-GH cfd291f698 ctype.h: add locale_t type 2026-01-21 19:20:10 -06:00
Jeremy Soller a1a97069f6 Merge branch 'psignal-psiginfo-todo-completion' into 'master'
psignal/psiginfo: complete TODOs and remove allocations

See merge request redox-os/relibc!903
2026-01-21 17:10:34 -07:00
Connor-GH 89c0ff6570 psignal/psiginfo: complete TODOs and remove allocations
These implementations already passed the os-test test suite (and still
do after these changes), but I saw that they had some TODOs and some
overcomplicated code. If we want to be a fast libc, removing use of
`format!` where we can is likely a good first step because it
allocates memory.
2026-01-21 17:41:33 -06:00