no name
c02849dd73
FIX error: right operand of shift expression '(1 << BLA)' is greater than or equal to the precision BLA of the left operand [-fpermissive]
2020-06-02 23:27:15 +02:00
Jeremy Soller
c7910a8754
Add __need_winit_t to wctype.h
2020-05-28 13:43:55 -06:00
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
jD91mZM2
aeab6a986d
Fix a few GDB compilation issues
2019-08-12 09:30:05 +02:00
Jeremy Soller
e7d19e2a58
Move SIG_IGN and friends to C in order to define them correctly
2019-08-08 20:06:38 -06:00
jD91mZM2
f389010fff
Initial ptrace compatibility for Redox OS
2019-08-04 19:05:45 +02:00
jD91mZM2
7f702720af
Fix header file generation for ptrace
2019-08-04 19:05:44 +02:00
Mateusz Mikuła
b599c453a0
Remove defines that are generated by new cbindgen from bits
2019-07-18 13:18:00 +02:00
Jeremy Soller
38099fe3d9
Fix definition of errno to match what is used by musl
2019-07-03 19:47:55 -06:00
Mateusz Mikuła
ff94798253
Make errno thread local
2019-07-01 16:51:19 +02:00
Mateusz Mikuła
21a6701528
Rename __assert to __assert_fail
...
This makes relibc more compatible with other libc implementations
2019-05-11 13:50:36 +02:00
Alex Lyon
3584edf199
stdio: implement tempnam() and tmpnam()
2019-04-26 20:39:03 -07:00
Jeremy Soller
2fdca9bd0a
Work around definition of O_NOFOLLOW, and add target for only building and installing headers
2019-04-07 10:11:05 -06: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
Paul Sajna
e93129b165
Change LONG_BIT definition, fixes #148
2019-02-28 07:42:19 +00:00
Tibor Nagy
7ee59d2fdb
tests: set C11, enable pedantic warnings, fix GCC and Clang warnings
2019-02-20 15:04:47 +01:00
Tibor Nagy
d38a1d0da3
ctype: Implement _tolower, _toupper
2019-02-20 11:49:06 +01:00
Jeremy Soller
6c0c6dd71b
Fix missing negative flags in netdb.h, add NI_MAXHOST and NI_MAXSERV
2019-01-13 10:34:17 -07:00
Jeremy Soller
7ac3dfaa49
Implement sys_uio, define sockaddr_storage
2019-01-05 13:10:20 -07:00
Jeremy Soller
eef2f4d1f8
Add more netinet/in.h definitions
2019-01-05 12:01:24 -07:00
Jeremy Soller
74af56d71b
Add statvfs and strtold
2018-12-14 12:00:21 -07:00
Jeremy Soller
f7b3abc1b6
Add more wchar definitions
2018-12-13 08:11:49 -07:00
Jeremy Soller
ee40035c4b
Add asprintf
2018-12-09 12:45:04 -07:00
Jeremy Soller
8aae8e1564
Add PTE
...
Add sys_timeb header
2018-12-09 11:27:44 -07:00
Jeremy Soller
9790289aec
Add execlp
2018-11-22 20:43:04 -07:00
Jeremy Soller
c6f2b30738
Add netdb bits to include hostent.h_addr
2018-11-17 08:16:37 -07:00
Jeremy Soller
740f57738c
Merge branch 'cpp-extern' into 'master'
...
Disable symbol mangling for C++
See merge request redox-os/relibc!173
2018-10-28 13:13:51 +00:00
Tibor Nagy
d4308c8a9b
Disable symbol mangling for C++
2018-10-28 13:24:34 +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
jD91mZM2
b517629371
Fix timeradd
...
wow i am stupid for writing this code
2018-10-11 19:52:54 +02:00
jD91mZM2
fba3bf5161
Merge branch 'assert' into 'master'
...
Make assert more hygienic
See merge request redox-os/relibc!166
2018-10-07 12:50:56 +00:00
jD91mZM2
0de7d30656
Fix S_IS*
...
For some reason, C handles `==` before `&`.
So `a & b == c` is the same thing as `a & (b == c)`.
2018-10-07 13:01:59 +02:00
jD91mZM2
418a960f3b
Implement realpath
2018-10-07 10:32:51 +02:00
jD91mZM2
9d56ce42c6
Implement timer* macros, and GNU's getopt_long
2018-10-06 16:46:35 +02:00
Tibor Nagy
614b2f5103
Make assert more hygienic
2018-10-06 14:55:06 +02:00
jD91mZM2
b22d386177
Re-add EOF to bits header
...
cbindgen can't handle negative numbers, see https://github.com/eqrion/cbindgen/issues/205
2018-09-29 20:02:37 +02:00
jD91mZM2
afc1ff134a
Rewrite IO to use core-io library
2018-09-26 16:13:09 +02:00
jD91mZM2
30d6f079c5
Add missing dirent macros ( fixes #129 )
2018-09-05 17:39:40 +02:00
Jeremy Soller
f1df1f9f0b
Fix issue with stdio.h bits file not having FILE defined
2018-08-18 08:22:16 -06:00
jD91mZM2
face6f07f3
Implement mmap
2018-08-09 10:54:44 +02:00
jD91mZM2
f6ca7d7c2d
Add S_ISSOCK and fix str(c)spn
2018-08-05 21:49:45 +02:00
jD91mZM2
44599a032e
Kind of get bash to compile
...
Doesn't link yet due to "multiple definitions of malloc", because some are supplied by some library of bash itself. Really odd.
2018-08-02 14:37:57 +02:00
jD91mZM2
ce53ac7e13
Fix inttypes a little
2018-07-30 12:32:03 +02:00
jD91mZM2
d3e4fa71a5
Implement sys/select.h
...
I really really wish I could actually test this on redox. All I know is: it compiles
2018-07-29 17:26:54 +02:00
jD91mZM2
4a42983d13
Make sigset_t be a long because bash needs that to compile
2018-07-28 17:18:53 +02:00
jD91mZM2
2bf426b0fb
Implement isatty
2018-07-26 14:19:20 +02:00
jD91mZM2
7ff6940edd
Implement futimens
2018-07-26 13:26:54 +02:00
jD91mZM2
83949290c9
Implement dirent.h
2018-07-26 09:16:22 +02:00
jD91mZM2
e749d23030
Solve stdin/out/err UB in a better way
2018-07-25 14:29:14 +02:00
jD91mZM2
ecd8aca6d6
Basic signal support
2018-07-22 17:04:13 +02:00