Closed nick-knight closed 2 years ago
_write is returning 0 instead of the expected number of characters written.
_write
0
One of the consequences is that
printf("string1\nstring2\n")
will only output:
string1\n
because printf will abort after the first _write call.
printf
This was fixed by @loiclefort on a downstream (private) fork, but that fix was apparently never upstreamed. It was reported recently in the SiFive forums: https://forums.sifive.com/t/some-freedom-studio-qemu-annoyances/5561
Thanks for the reviews. I don't have write access so someone else will have to finish it off. Thanks.
@loiclefort , would you mind?
_write
is returning0
instead of the expected number of characters written.One of the consequences is that
will only output:
because
printf
will abort after the first_write
call.This was fixed by @loiclefort on a downstream (private) fork, but that fix was apparently never upstreamed. It was reported recently in the SiFive forums: https://forums.sifive.com/t/some-freedom-studio-qemu-annoyances/5561