First, the buffer "buf" is not reset to '\0's in
each loop, this could cause problem if we want to
support multi-line input someday.

Second, if "session" sends "str1\0" and "str2\0"
consecutively, then "remote_stdio" might get "str1\0str2\0"
as a whole and only print out the fist part.
This can explain a part of the "lines missing when using
fricas through a pipe" bug.

- Qian

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ee444db8-6fab-4f50-82fb-fb6eb918f67b%40gmail.com.

Reply via email to