Commit Graph

655 Commits

Author SHA1 Message Date
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
jD91mZM2 5697ac0f84 Fix stat stack corruption and link test 2018-07-23 11:26:18 +02:00
jD91mZM2 86a38b47d1 Fix broken exec test 2018-07-22 19:57:59 +02:00
jD91mZM2 ecd8aca6d6 Basic signal support 2018-07-22 17:04:13 +02:00
jD91mZM2 7b8e7feb3d Run fmt.sh 2018-07-22 11:33:01 +02:00
jD91mZM2 67d5976622 Clean up tests 2018-07-22 11:24:50 +02:00
jD91mZM2 e9484e4d60 Ignore *all* target directories 2018-07-22 10:21:14 +02:00
jD91mZM2 27e8174e10 Combine mktemp and mkostemps logic 2018-07-22 10:17:09 +02:00
jD91mZM2 e4a89ae645 Merge branch 'mkstemp' into 'master'
Implement `mkstemp` and `mkostemps`

See merge request redox-os/relibc!152
2018-07-22 07:19:22 +00:00
stratact c788f7ed26 Add expected tests 2018-07-22 00:01:43 -07:00
stratact 6fa1f60830 Implement mkstemp and mkostemps (squashed) 2018-07-21 10:25:19 -07:00
jD91mZM2 7d43d45e56 Merge branch 'arpa_inet' into 'master'
implement arpainet

See merge request redox-os/relibc!153
2018-07-19 16:02:51 +00:00
Paul Sajna 0550a7b9db implement arpainet 2018-07-19 16:02:51 +00:00
jD91mZM2 233e679c08 Make inner platform functions private once more 2018-07-18 10:04:17 +02:00
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