Steve McKay
4859c222e7
Make program_invocation_name modifiable
...
libiconv expects program_invocation_name to be an lvalue
2019-08-17 12:35:43 -04:00
Xavier L'Heureux
225583230f
Test
2019-08-11 18:11:19 -04:00
jD91mZM2
a7b354c8e0
Update to latest syscall after merging ptrace
2019-08-04 19:46:10 +02:00
jD91mZM2
e559a3e2e5
Stub for ptrace
...
It's happening...
2019-08-04 19:05:44 +02:00
jD91mZM2
a8280e8991
Implement wcstol, wcstod, and printf:ing wchars
2019-07-18 12:29:22 +02:00
jD91mZM2
7c99077248
Implement wcstok
2019-07-18 08:15:40 +02:00
jD91mZM2
57917c0e92
Fix various floating point issues in printf
2019-07-11 18:09:37 +02:00
Jeremy Soller
6a97b47d3f
Do not expect unistd/isatty
2019-07-06 19:32:01 -06:00
Jeremy Soller
e27b22f63c
Do not test sys_epoll by default
2019-07-06 19:02:35 -06:00
Jeremy Soller
eae28f6dd9
Fix scandir test on Redox
2019-07-06 18:39:41 -06:00
Peter Limkilde Svendsen
70857f9980
Move alloc tests to expected-output tests
2019-07-01 18:35:56 +00:00
Peter Limkilde Svendsen
6cc5216c9c
Implement l64a()
2019-07-01 10:59:37 +00:00
jD91mZM2
e35f22b3df
WIP: pthread_atfork
...
WIP mainly because we *should* use thread locals, but #[thread_local]
causes segfaults.
2019-07-01 09:07:11 +02:00
Jeremy Soller
a72c5f4aca
Add static tls test
2019-06-30 21:30:34 -06:00
jD91mZM2
c29237d360
Revert "Regenerate test output after !220 "
...
Well I'm dumb... This test was already ran in a way that wasn't
verifying output, because this test outputs things that can
differ. Excuse me for not noticing!
This reverts commit 0af78b1e06 .
2019-06-12 14:42:38 +02:00
jD91mZM2
0af78b1e06
Regenerate test output after !220
2019-06-12 11:45:06 +02:00
jD91mZM2
d9ed51b9f1
Merge branch 'lcg48_arr' into 'master'
...
Implement remaining LCG functions
See merge request redox-os/relibc!219
2019-06-12 09:31:18 +00:00
Jason Hansel
a5409ecd36
Fix out-of-bounds error in strsignal
2019-06-10 10:25:59 -04:00
Peter Limkilde Svendsen
b2a9cdf930
Implement lcong48() and seed48()
2019-05-23 20:36:13 +02:00
Peter Limkilde Svendsen
13108776ae
Implement erand48(), jrand48() and nrand48()
2019-05-22 18:48:19 +02:00
Peter Limkilde Svendsen
45860e9256
Implement LCG pseudorandom number functions
2019-05-12 14:50:18 +00:00
Mateusz Mikuła
d62db7b1b9
Add memrchr()
2019-05-11 13:49:46 +02:00
Jeremy Soller
54fb8b9b2b
Fix select on regular files
2019-04-28 10:07:42 -06:00
Jeremy Soller
378ea3ac0e
signal test is no longer expected
2019-04-28 09:14:05 -06:00
Jeremy Soller
b399e87ef8
Add epoll test
2019-04-28 09:13:47 -06:00
Alex Lyon
5bbce37789
string: add strnlen_s()
2019-04-26 20:36:37 -07:00
Alex Lyon
67af78d0eb
stdlib: make rand()/rand_r() generate from [0, RAND_MAX]
2019-04-26 13:13:25 -07:00
Alex Lyon
13a10ce7af
stdlib: implement rand_r() using XorShiftRng
2019-04-25 19:35:32 -07:00
Mateusz Mikuła
1ebd8a3d72
Handle zero length for strerror_r
2019-04-24 17:42:28 +02:00
jD91mZM2
8fca7bcbc1
More printf tests and corner cases
2019-04-23 08:15:58 +02:00
Mateusz Mikuła
c68a0d5678
Add POSIX strerror_r
2019-04-19 17:59:56 +02:00
jD91mZM2
3f98962054
Fix bug in scanf where EOF would be ignored
2019-03-28 17:57:13 +01:00
jD91mZM2
269b8a1d3e
Merge branch 'cleanup' into 'master'
...
tests: Macro based error handling
See merge request redox-os/relibc!195
2019-03-03 15:19:19 +00:00
lmiskiew
5eb2a8f7bd
Implement swab
2019-02-28 08:23:11 +00:00
emturner
4ed6dca61d
implements wcsrchr from wchar.h
2019-02-25 22:53:11 +00:00
Tibor Nagy
fa2c6d29db
tests: Rewrite libgen tests based on ctype (nice table layout), fix error handling of sleep tests
2019-02-25 19:32:20 +01:00
Tibor Nagy
96182ce8ad
tests: Fix expected outputs
2019-02-24 22:19:07 +01:00
Tibor Nagy
2d027f0771
tests: More work on error handling
2019-02-24 00:46:26 +01:00
emturner
ec3488c7b0
implements wcscspn from wchar.h
2019-02-22 23:18:21 +00:00
Tibor Nagy
0c539d6e4e
tests: Fix expected outputs
2019-02-22 13:28:18 +01:00
Tibor Nagy
6266d29242
tests: Fix expected outputs
2019-02-21 17:46:18 +01:00
Tibor Nagy
7ee59d2fdb
tests: set C11, enable pedantic warnings, fix GCC and Clang warnings
2019-02-20 15:04:47 +01:00
Jeremy Soller
c59f268fcd
Implement getaddrinfo (somewhat)
2019-01-21 20:36:56 -07:00
lmiskiew
5b6b11cb65
Fix panic in fwrite
2018-12-17 02:01:36 +01:00
Jeremy Soller
a8f3608f3c
Fix stdlib div functions, add _Exit
2018-12-14 13:41:22 -07:00
Jeremy Soller
9325183b21
Fix strcat
2018-12-01 08:55:02 -07:00
Jeremy Soller
52493a1ec3
Add popen/pclose
2018-11-25 10:33:50 -07:00
Tibor Nagy
55eb8f2779
Implement alloca.h
2018-11-23 21:31:09 +01:00
Michal Z
a7b71a311d
Implement libgen.h
...
Implemented the following calls according to http://pubs.opengroup.org/onlinepubs/7908799/xsh/libgen.h.html
- char* basename(char*)
- char* dirname(char*)
Added test suit for the implemented calls.
Issue: https://gitlab.redox-os.org/redox-os/relibc/issues/134
2018-11-05 17:49:14 +01:00
Tibor Nagy
e7f251fdb0
Fix assert when used as an expression
...
Based on what musl does.
2018-10-27 17:40:24 +02:00