Commit Graph

677 Commits

Author SHA1 Message Date
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 ce53ac7e13 Fix inttypes a little 2018-07-30 12:32:03 +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
Jeremy Soller a9fcb973f6 Implement utimes and utime
Format
2018-07-29 07:18:44 -06:00
jD91mZM2 3eb7b99799 Move test binaries to tests/bins/ 2018-07-29 10:04:11 +02:00
jD91mZM2 f82b48b839 Implement sys/times.h on linux 2018-07-29 09:23:56 +02:00
jD91mZM2 e7e9d57db5 Implement a dummy sgtty 2018-07-29 07:55:19 +02:00
jD91mZM2 65cbd40fce Remove an accidentally committed binary. Again. Sigh. 2018-07-29 07:19:23 +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 7524a83d82 fixup! sigemptyset and sigaddset 2018-07-28 15:33:06 +02:00
jD91mZM2 892ce75eb4 sigemptyset and sigaddset 2018-07-28 14:10:57 +02:00
jD91mZM2 6da2639dfa Fix leaking uninitialized elements and missing free 2018-07-28 08:22:21 +02:00
jD91mZM2 3c88056f9d Implement getrusage on linux 2018-07-27 19:54:30 +02:00
jD91mZM2 193328952d Alias memory.h to string.h 2018-07-27 18:27:51 +02:00
jD91mZM2 fc910d4157 Merge branch 'fix-parallel-builds' into 'master'
Turn the libc and libm rules into 'order-only' prequisites

Closes #127

See merge request redox-os/relibc!158
2018-07-27 16:02:49 +00:00
Robin Randhawa cb046c78e4 Turn the libc and libm rules into 'order-only' prequisites
These prerequisites are GNU Make terminology.

This change forces the libc rule to be executed first so that the headers that
the libm rule needs are available. The original setup was using 'normal'
prerequisites which occasionally resulted in bizarre build breakage,
especially on multi-core build hosts. Seen often on my 8-way SMP build
host.

Note that this doesn't impede parallelisation of each rule indepent of
the other. It just serializes the rules themselves.

This fixes: https://gitlab.redox-os.org/redox-os/relibc/issues/127
2018-07-27 16:51:15 +01:00
jD91mZM2 f6b364845e Implement pwd.h 2018-07-27 15:15:56 +02:00
jD91mZM2 1b40f2d463 Implement setitimer/getitimer/alarm/ualarm 2018-07-27 08:22:17 +02:00
jD91mZM2 8b48b6959c fixup! Implement isatty 2018-07-26 14:32:10 +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 a0f2baff12 Implement gettimeofday 2018-07-26 10:07:33 +02:00
jD91mZM2 83949290c9 Implement dirent.h 2018-07-26 09:16:22 +02:00
jD91mZM2 dec5e0a019 Add missing sockaddr_in to platform/src/types.rs 2018-07-25 14:39:28 +02:00
jD91mZM2 e749d23030 Solve stdin/out/err UB in a better way 2018-07-25 14:29:14 +02:00
jD91mZM2 992e50ef0f Fix a few things with openssl 2018-07-25 14:04:36 +02:00
jD91mZM2 0e48937991 Merge branch 'tmpfile' into 'master'
Implement tmpfile

See merge request redox-os/relibc!154
2018-07-25 06:32:19 +00:00
stratact 42811717da Remove unneeded reference 2018-07-24 23:22:00 -07:00
stratact 5f6309d87c Implement tmpfile (squashed) 2018-07-24 23:14:18 -07:00
jD91mZM2 8021ade2a9 Move stat test out of expected tests 2018-07-23 21:41:19 +02:00
jD91mZM2 dc427272af fixup! Fix stat stack corruption and link test 2018-07-23 21:21:15 +02:00