Forked from
redox-os / relibc
2083 commits behind the upstream repository.
-
Alex Lyon authored
Because we were previously converting the bytes in the format string into Rust's char type and then printing that using the format machinery, byte values that were not valid single-byte UTF-8 characters failed to print correctly. I found this while trying to implement qsort() because the output of my test program was mysteriously incorrect despite it working when I used glibc.
Alex Lyon authoredBecause we were previously converting the bytes in the format string into Rust's char type and then printing that using the format machinery, byte values that were not valid single-byte UTF-8 characters failed to print correctly. I found this while trying to implement qsort() because the output of my test program was mysteriously incorrect despite it working when I used glibc.
printf.c 313 B