Commit Graph

614 Commits

Author SHA1 Message Date
jD91mZM2 ff9ef98f47 Move gethostname to platform 2018-07-18 10:02:42 +02:00
jD91mZM2 0a57c617c7 Remove a useless comment 2018-07-18 08:07:00 +02:00
jD91mZM2 5b3e09ee16 fixup! strcoll as strcmp because no locale 2018-07-17 18:35:54 +02:00
jD91mZM2 878208485c strcoll as strcmp because no locale 2018-07-17 17:44:38 +02:00
jD91mZM2 482bd9c5f1 fmt.sh 2018-07-17 17:24:22 +02:00
jD91mZM2 b83d1c7ff0 strftime :D 2018-07-17 16:47:33 +02:00
Jeremy Soller 37b6cd942c Fix pipe 2018-07-14 12:29:18 -06:00
jD91mZM2 515d041153 Hehe make environment tests work for everybody 2018-07-14 19:53:56 +02:00
jD91mZM2 75145ab92b Pass envp to main 2018-07-14 19:48:10 +02:00
jD91mZM2 019011f029 WIP env support 2018-07-14 18:03:22 +02:00
Jeremy Soller dc443a8cc3 Format 2018-07-13 09:53:44 -06:00
Jeremy Soller 4c4ce80fcd Fix warnings 2018-07-13 09:52:53 -06:00
Jeremy Soller 52e02286f2 Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc 2018-07-13 09:24:42 -06:00
Jeremy Soller 4718796c2b Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc 2018-07-13 09:23:13 -06:00
jD91mZM2 9cb0881cc4 Alias wbstowcs and wbtowc to their correct functions 2018-07-13 15:01:13 +02:00
jD91mZM2 5f098c89c3 Add more tests for mktime and localtime 2018-07-13 10:16:42 +02:00
jD91mZM2 a9ea2ef64e Fixup time & support negative & mktime 2018-07-13 09:13:46 +02:00
Jeremy Soller c2cdb451f5 Add system 2018-07-12 20:00:41 -06:00
jD91mZM2 758b437170 Run fmt.sh 2018-07-12 21:40:44 +02:00
jD91mZM2 b7e11afd2f Add localtime and ctime functions
I have NO IDEA if these are correct. Implementation was 'inspired by' https://github.com/rust-lang-deprecated/time/commit/4ca23fb14ddf44fd90609fec6a2fb1efcedb8ea3. Pretty darn certain that negative values won't work
2018-07-12 21:39:53 +02:00
jD91mZM2 a7cc95cd90 Comment out #[no_mangle] on unimplemented functions
This stops configure scripts from identifying them as valid
2018-07-12 21:39:53 +02:00
Jeremy Soller b8cab5f0be Fix missing stdint.h in signal.h 2018-07-12 11:12:41 -06:00
Jeremy Soller b7eb7a43e0 Update lock file 2018-07-12 09:50:00 -06:00
Jeremy Soller 463c9f386c Fix issue with RUSAGE constants not being in C headers if negative 2018-07-12 09:49:53 -06:00
Jeremy Soller 9c27110de1 Add rusage constants 2018-07-12 09:09:30 -06:00
Jeremy Soller 6e56734224 Fix environ signature 2018-07-12 09:00:58 -06:00
Jeremy Soller 99fa77535a Add pathconf variables 2018-07-12 09:00:23 -06:00
Jeremy Soller 9fc785dcc6 Add stack_chk functionality 2018-07-12 07:40:53 -06:00
Jeremy Soller 6c11a18240 Go back to patched ralloc 2018-07-11 09:59:28 -06:00
jD91mZM2 5f4ebaaabf Fix broken ralloc submodule & fmt.sh 2018-07-11 17:13:38 +02:00
jD91mZM2 55e618d8c0 Add the last socket functions on linux; leave unimplemented on redox 2018-07-11 12:49:50 +02:00
jD91mZM2 6d923cbd0b Implement getpeername and getsockname 2018-07-11 11:43:38 +02:00
jD91mZM2 30d91b82b2 Run fmt.sh 2018-07-08 08:51:15 +02:00
jD91mZM2 d3f6985ee9 Add a few things necessary for openssl (not all) 2018-07-08 08:44:23 +02:00
jD91mZM2 587ee32a30 Merge branch 'style-tag' into 'master'
Use style = Tag everywhere possible

See merge request redox-os/relibc!151
2018-07-08 06:38:45 +00:00
jD91mZM2 985a83ee69 Use style = Tag everywhere possible 2018-07-06 17:02:23 +02:00
jD91mZM2 53f634f579 Fix inttypes 2018-07-06 17:01:52 +02:00
jD91mZM2 eaf7338946 Add aliases for compatibility 2018-07-06 13:39:07 +02:00
Jeremy Soller 919ae09d2f Fix compilation on Redox 2018-07-04 10:16:34 -06:00
Jeremy Soller 3361b05911 Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc 2018-07-04 10:12:32 -06:00
Jeremy Soller ea5f8d59de Add dlmalloc 2018-07-04 10:10:34 -06:00
jD91mZM2 e206400d19 Move exec* back to platform
This undos a workaround. Jeremy moved the ralloc stuff to platform and suddenly this seems to work again. I don't know what is different from when I tried this before and now, but I don't really care
2018-07-04 09:29:34 +02:00
Jeremy Soller 3ef9599af5 Update ralloc 2018-07-03 21:18:23 -06:00
Jeremy Soller 42abc98a99 Cleanup allocation functions 2018-07-03 19:40:47 -06:00
Jeremy Soller b6b34a7026 Ralloc fixes and fixes for Redox execution 2018-07-03 19:07:07 -06:00
Jeremy Soller 7e6e1b164c Align stack on x86_64 2018-07-03 11:31:05 -06:00
jD91mZM2 6a0928edfd Use relibc to build openlibm 2018-07-03 19:01:24 +02:00
jD91mZM2 9c169a186f Run fmt.sh 2018-07-03 09:33:41 +02:00
jD91mZM2 aff5380723 Merge branch 'master' into 'master'
Fixing some things in stdio

See merge request redox-os/relibc!136
2018-07-03 07:21:02 +00:00
Tom Almeida 53a03cb0ba Made sure errors were properly handled by printf 2018-07-03 14:50:38 +08:00