Jeremy Soller
588f032f75
Rename can be done with O_PATH
2019-04-06 20:47:20 -06:00
Jeremy Soller
54b6c8f025
Update pthreads-emb
2019-04-04 19:59:06 -06:00
Jeremy Soller
862c76b25f
Correct error for unknown protocol type in socket
2019-04-01 20:35:15 -06:00
Jeremy Soller
f4c036c3aa
Fix returning incorrect ai_socktype from getaddrinfo
2019-04-01 20:34:53 -06:00
Jeremy Soller
42d40da973
Map stacks based on provided size.
2019-03-31 15:04:37 -06:00
Jeremy Soller
17372b4f69
Fix thread starting before pte_osThreadStart
2019-03-30 16:18:07 -06:00
jD91mZM2
3f98962054
Fix bug in scanf where EOF would be ignored
2019-03-28 17:57:13 +01:00
Jeremy Soller
6548aad36d
Use next_byte function in all places in scanf
2019-03-27 21:32:02 -06:00
Jeremy Soller
d13fb3f42b
Fix panic in sigaction
2019-03-27 21:31:18 -06:00
Jeremy Soller
bee72373be
Fix panic not producing output
2019-03-27 21:28:39 -06:00
Jeremy Soller
5dca9843dc
Fix use of trace macro when errno is imported
2019-03-27 20:57:12 -06:00
Jeremy Soller
65aeda1f59
Use AF_INET6 instead of PF_INET6 in test
2019-03-27 20:56:59 -06:00
Jeremy Soller
a88ec09131
Prevent override of panic from relibc
2019-03-27 20:56:23 -06:00
Jeremy Soller
229ca66726
Merge branch 'usleep' into 'master'
...
Fix usleep
Closes #144
See merge request redox-os/relibc!204
2019-03-25 13:06:46 +00:00
Mateusz Mikuła
e01d1ce11b
Fix usleep
2019-03-25 13:36:48 +01:00
Jeremy Soller
7a1e2a6269
Merge branch 'new-toolchain' into 'master'
...
Support use of new cross compiler
See merge request redox-os/relibc!203
2019-03-17 02:28:01 +00:00
Jeremy Soller
0e667c5f25
Remove .travis.yml
2019-03-16 20:20:43 -06:00
Jeremy Soller
6f12bb6a32
Install tar before attempting to use it
2019-03-16 20:18:34 -06:00
Jeremy Soller
59653ee290
Support use of new cross compiler
2019-03-16 20:16:00 -06:00
Jeremy Soller
cee4449f7c
Replace make calls with MAKE variable
2019-03-16 18:54:11 -06:00
Jeremy Soller
cdbeda1ca0
Merge branch 'patch-2' into 'master'
...
Fix conditional compilation of sys/mman.h
See merge request redox-os/relibc!201
2019-03-05 02:08:01 +00:00
jD91mZM2
640c6d41a7
Merge branch 'aarch64-prep' into 'master'
...
Aarch64 prep redux
See merge request redox-os/relibc!202
2019-03-04 09:48:26 +00:00
Robin Randhawa
9443eef518
Add wint_t definition to stddef.h
...
Without this the relibc tests would break. With this the relibc tests
pass and formerly breaking builds (such as uutils -> onig_sys) pass.
2019-03-03 21:50:13 +00:00
Robin Randhawa
23de2ca7ca
Remove redundant wchar_t and win_t definitions
...
Typically with libc implementations, wchar_t and co are either defined
entirely by the libc or, under libc's arrangement, by headers supplied
by the compiler.
Things like dlmalloc in relibc need these definitions from relibc itself
and that's already already furnished by relibc's stddef.h.
These additional definitions here are redundant and collide with
compiler headers - for example: onig_sys (something that uutils depends
on) breaks. Instead, this patch makes the compiler headers define
things appropriately.
2019-03-03 21:50:04 +00:00
Robin Randhawa
f9f752d74c
aarch64-prep: Dummy auxv.h
...
For AArch64, the ring crate depends on the presence of this header and a definition
of getauxval.
2019-03-03 21:49:52 +00:00
Robin Randhawa
17bed54103
aarch64: Fix incorrect init/fini stack manipulation
...
The pre-index operator ('!') was missing at the end of the stp
instruction.
As a result, the stack pointer wasn't updated after the
store of the 64-bit pair and the stored values were basically lost when
follow on code used the stack for later store ops.
2019-03-03 21:49:46 +00:00
Angelo Bulfone
31fc29e70c
Fix conditional compilation of sys/mman.h
2019-03-03 21:14:45 +00: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
jD91mZM2
37c976945a
Merge branch 'implement-swab' into 'master'
...
Implement swab
See merge request redox-os/relibc!187
2019-02-28 08:23:11 +00:00
lmiskiew
5eb2a8f7bd
Implement swab
2019-02-28 08:23:11 +00:00
jD91mZM2
30a0f70d73
Merge branch 'wcsrchr' into 'master'
...
implements wcsrchr from wchar.h
See merge request redox-os/relibc!197
2019-02-28 08:21:55 +00:00
jD91mZM2
fe905ed13c
Merge branch 'calloc_overflow_check' into 'master'
...
add calloc integer overflow check
See merge request redox-os/relibc!188
2019-02-28 08:20:11 +00:00
jD91mZM2
71f8fb32e3
Merge branch 'patch-1' into 'master'
...
Change LONG_BIT definition, fixes #148
Closes #148
See merge request redox-os/relibc!198
2019-02-28 08:18:29 +00:00
Paul Sajna
e93129b165
Change LONG_BIT definition, fixes #148
2019-02-28 07:42:19 +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
efd6947d8e
tests: Fix function-like macros
...
Turns the results of these macros from compound to regular statements using the old `do { ... } while(0)` trick. Must have for function-like macros.
2019-02-25 14:13:02 +01:00
Tibor Nagy
96182ce8ad
tests: Fix expected outputs
2019-02-24 22:19:07 +01:00
Tibor Nagy
a92be000fb
tests: Even more work on error handling
...
realpath: Fixing undefined behaviour in the second test. If the call fails the resolved_name argument cannot be used for error checking because its state is undefined by SUSv2.
pipe: Changing the order of close and write error handling code. Errors in close could overwrite errno after write errors, returning incorrect error messages.
gmtime: Removed duplicate checks
Other fixes for fseek, rename, mktime, putwchar
2019-02-24 22:02:11 +01:00
Tibor Nagy
2d027f0771
tests: More work on error handling
2019-02-24 00:46:26 +01:00
Jeremy Soller
f3ba7e8d8e
Merge branch 'wcscspn' into 'master'
...
Implements wcscspn function from wchar.h
See merge request redox-os/relibc!196
2019-02-23 00:33:11 +00: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
513f4ba53c
tests: Documentation for test_helpers.h, more refactoring
2019-02-22 13:19:38 +01:00
Jeremy Soller
74d0b24939
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc
2019-02-21 19:43:07 -07:00
Jeremy Soller
5690c6dcdf
Add trace for select and poll
2019-02-21 19:42:58 -07:00
Tibor Nagy
9a0ea6ff34
tests: More refactoring, add helper header to every test, override exit for better error reporting
2019-02-21 21:13:28 +01:00
Tibor Nagy
6266d29242
tests: Fix expected outputs
2019-02-21 17:46:18 +01:00
Tibor Nagy
64acf45c40
tests: Add helper macros for easier error handling and reporting
2019-02-21 17:35:24 +01:00
Tibor Nagy
f60c95d2ca
tests: Work on more thorough error handling
2019-02-21 16:15:49 +01:00