Commit Graph

466 Commits

Author SHA1 Message Date
jD91mZM2 6fe3e05ea0 Delete duplicate types
Now that we use cbindgen differently :D
2018-09-02 08:17:15 +02:00
Paul Sajna 07eb658a8a Netdb 2018-09-01 14:00:18 +00:00
Jeremy Soller b52c822150 Update Redox module to use CStr 2018-08-27 08:44:42 -06:00
Jeremy Soller c911facca6 Make pal functions take cstr 2018-08-27 08:33:12 -06:00
Jeremy Soller 16373257b0 format 2018-08-27 07:12:37 -06:00
Jeremy Soller 8f5470fd27 Reduce warnings 2018-08-27 07:12:24 -06:00
Jeremy Soller bab4e2896a Format 2018-08-27 06:35:30 -06:00
Jeremy Soller 7ab700315d Fix warnings and add c_str 2018-08-26 15:15:29 -06:00
Jeremy Soller ed00ddfb54 Fix remaining issues, move setjmp into relibc crate, move start logic into relibc 2018-08-26 12:28:27 -06:00
Jeremy Soller c63c930e4a Make it compile 2018-08-26 12:10:02 -06:00
Jeremy Soller 277b9abcd5 Fix build, mostly 2018-08-26 08:56:02 -06:00
Jeremy Soller c20ce5ffed Large reorganization of headers (WIP) 2018-08-26 08:11:35 -06:00
Jeremy Soller ff32c8cbbd Remove stat and lstat, which can be replaced with open and fstat 2018-08-25 10:13:58 -06:00
Jeremy Soller 34f5f57213 Fix signal and socket pal implementations on Redox 2018-08-25 09:21:08 -06:00
Jeremy Soller d1dabccdce Fix missing modules in Redox platform 2018-08-25 09:14:02 -06:00
Jeremy Soller 165f099c6b Update Redox platform to pal 2018-08-25 09:07:35 -06:00
Jeremy Soller 729709a8e6 Update all modules to new Pal mechanism 2018-08-25 08:42:57 -06:00
Jeremy Soller e6f163823c WIP: platform abstraction layer 2018-08-24 20:13:07 -06:00
Jeremy Soller 2e8cb6b363 Fix signature of unsetenv 2018-08-17 20:07:00 -06:00
jD91mZM2 128209788c Finish up fexec migration 2018-08-13 14:46:59 +02:00
jD91mZM2 66d7aa8553 Revert 'Fix off by one error' because it introduces one
Turns out, it's just redox not having a NULL pointer here. Linux does.
2018-08-13 11:37:29 +02:00
jD91mZM2 d5f85906cb Fix off-by-one error :| 2018-08-12 21:50:22 +02:00
jD91mZM2 1c4e8852dd Migrate to new FEXEC system call 2018-08-12 20:35:45 +02:00
jD91mZM2 07563de231 Implement setenv/unsetenv 2018-08-12 07:43:23 +02:00
jD91mZM2 232a3311df Add SIGABRT to redox 2018-08-10 08:33:11 +02:00
jD91mZM2 b10fa984f3 Implement strtod 2018-08-09 16:35:49 +02:00
jD91mZM2 face6f07f3 Implement mmap 2018-08-09 10:54:44 +02:00
Tom Almeida 3aa52e88a7 Fix issues with _IONBF and reading 2018-08-09 02:51:37 +08:00
Tom Almeida 540395c015 Fix _IONBF crashing when reading 2018-08-09 02:07:19 +08:00
Tom Almeida a1ebe321d6 Ensure that _IONBF would be respected when writing 2018-08-09 01:38:57 +08:00
jD91mZM2 40c3d28a41 fixup! Fix a few ffmpeg issues 2018-08-08 19:29:02 +02:00
jD91mZM2 b0546336c7 Fix a few ffmpeg issues 2018-08-08 19:28:13 +02:00
Tom Almeida d219d57acb Fix an issue where _IONBF would cause an overflow error 2018-08-09 00:49:57 +08:00
jD91mZM2 deee825a1c Implement llabs 2018-08-08 16:25:10 +02:00
jD91mZM2 b26213731c Don't forget to lock stdout when printfing 2018-08-08 13:25:26 +02:00
jD91mZM2 23a8855e50 Fix garbage env pointer to main on redox 2018-08-08 11:01:16 +02:00
jD91mZM2 40a7380a58 Fix snprintf and make strftime use a counting writer 2018-08-07 21:31:05 +02:00
jD91mZM2 d39a66c351 Fix waitpid -1 on redox 2018-08-07 15:01:07 +02:00
jD91mZM2 3bb3a3e322 Fix strcpy 2018-08-07 11:35:23 +02:00
jD91mZM2 f6ca7d7c2d Add S_ISSOCK and fix str(c)spn 2018-08-05 21:49:45 +02:00
jD91mZM2 b20307dca0 Implement fnmatch.h 2018-08-05 19:50:49 +02:00
jD91mZM2 b5adee798d Move scanf unit tests to normal C tests 2018-08-05 09:53:07 +02:00
jD91mZM2 442a7bbedc Fix getcwd with a NULL argument 2018-08-04 08:42:47 +02:00
jD91mZM2 ba8bd8c4e8 Add the last few things for bash to compile :D 2018-08-03 11:18:52 +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 9c57c222f6 Fix strcasecmp 2018-07-31 07:37:19 +02:00
jD91mZM2 daf65c7a46 Implement access 2018-07-30 21:08:44 +02:00
jD91mZM2 2a303c4b60 Implement sys/file.h 2018-07-30 10:04:58 +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
Jeremy Soller bc7f7356b9 Fix redox futimens fd type 2018-07-29 07:22:41 -06:00