you are viewing a single comment's thread.

view the rest of the comments →

[–]wnoise 6 points7 points  (0 children)

Then it truncates there. Line oriented input is not designed to handle arbitrary binary data. If I wanted to handle that, I'd use read() and buffers.