<div dir="ltr"><div dir="ltr"><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ne 16. 2. 2020 o 16:47 Vojtech Horky <<a href="mailto:horky@d3s.mff.cuni.cz">horky@d3s.mff.cuni.cz</a>> napÃsal(a):</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>And which test have you tried to run?<br></blockquote><div>Â </div><div>I've mostly tried basic/empty, but it fails after printing out the name of the test (===userspace basic/empty===).</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Looking at your code, I do not see where you distinguish between puts <br>
and putc in libc syscalls.. </blockquote><div> </div><div>Do you mean puts and putchar? Well I've implemented it together, so that we won't use several syscalls for basically the same thing. But now that I've tried it, it worked so i guess that was the mistake :D It isn't possible to pass a single char to a function that takes pointer to char as argument? I thought since it was passed as int, it didn't really matter what you cast it as after it gets to handle syscall.</div><div><br></div><div> </div><div>Thanks,</div><div>Patrik </div></div></div>