- Nov 06, 2018
-
-
Michał Zwonek authored
The include_guard in both regex and utime was "_TEMPLATE_H", this meant that including both wasn't possible. Their header guards should be consistent with the header files as well. Changed _TEMPLATE_H to _REGEX_H and _UTIME_H in /regex/cbindgen.toml and /utime/cbindgen.toml respectively.
-
- Nov 05, 2018
-
-
Michał Zwonek authored
Implemented the following calls according to http://pubs.opengroup.org/onlinepubs/7908799/xsh/libgen.h.html - char* basename(char*) - char* dirname(char*) Added test suit for the implemented calls. Issue: redox-os/relibc#134
-
- Nov 01, 2018
-
-
jD91mZM2 authored
-
- Oct 30, 2018
-
-
Jeremy Soller authored
-
- Oct 28, 2018
-
-
Jeremy Soller authored
Handle getopt reinitialization See merge request redox-os/relibc!174
-
Nagy Tibor authored
-
Jeremy Soller authored
Disable symbol mangling for C++ See merge request redox-os/relibc!173
-
Nagy Tibor authored
-
- Oct 27, 2018
-
-
Jeremy Soller authored
Fix assert when used as an expression See merge request !172
-
Nagy Tibor authored
Based on what musl does.
-
- Oct 17, 2018
-
-
jD91mZM2 authored
-
Jeremy Soller authored
-
- Oct 15, 2018
- Oct 14, 2018
-
-
jD91mZM2 authored
-
- Oct 13, 2018
-
-
jD91mZM2 authored
Don't drop the host aliases pointer vector in `gethostent` Closes #130 See merge request redox-os/relibc!170
-
jD91mZM2 authored
-
Jeremy Soller authored
Implement almost all of printf See merge request !171
-
jD91mZM2 authored
-
- Oct 11, 2018
-
-
Benedikt Rascher-Friesenhausen authored
There are pointers to this vector in `HOST_ENTRY` so we must keep it around for as long as `HOST_ENTRY` exists.
-
jD91mZM2 authored
wow i am stupid for writing this code
-
- Oct 10, 2018
-
- Oct 09, 2018
-
-
Nagy Tibor authored
-
jD91mZM2 authored
-
Nagy Tibor authored
-
- Oct 07, 2018
-
-
Benedikt Rascher-Friesenhausen authored
As per the comments from jD91mZM2 on the merge request.
-
jD91mZM2 authored
-
jD91mZM2 authored
-
jD91mZM2 authored
-
jD91mZM2 authored
For some reason, C handles `==` before `&`. So `a & b == c` is the same thing as `a & (b == c)`.
-
jD91mZM2 authored
Accidentally made file references not count as references and therefore also close the fd. My bad.
-
jD91mZM2 authored
-
Benedikt Rascher-Friesenhausen authored
I saw that in other parts of the `string` module iterations over `usize` were used to increase iteration speed. In this patch I apply the same logic to `memcmp`. With this change I measured a 7x speedup for `memcmp` on a ~1MB buffer (comparing two buffers with the same content) on my machine (i7-7500U), but I did not do any real world benchmarking for the change. The increase in speed comes with the tradeoff of both increased complexity and larger generated assembly code for the function. I tested the correctness of the implementation by generating two randomly filled buffers and comparing the `memcmp` result of the old implementation against this new one. I ran the tests and currently currently three of them fail: - netdb (fails to run) - stdio/rename (fails to verify) - unistd/pipe (fails to verify) They do so though regardless of this change, so I don't think they are related.
-
- Oct 06, 2018
-
-
jD91mZM2 authored
-
jD91mZM2 authored
-
Nagy Tibor authored
-