cat does not do -u correctly #7

Closed
opened 2021-05-03 04:23:43 +00:00 by auravulpes · 1 comment
Owner

I'm no expert, but I don't think you can do unbuffered output just by using write(). At any rate, verify that stuff and fix it.

I'm no expert, but I don't think you can do unbuffered output just by using write(). At any rate, verify that stuff and fix it.
auravulpes added the
bug
label 2021-05-03 04:23:43 +00:00
auravulpes self-assigned this 2021-05-03 04:23:43 +00:00
Author
Owner

I rewrote some stuff to make it do setvbuf() on stdin and stdout with mode _IONBF. Hopefully, this is correct. I'm closing it for now.

I rewrote some stuff to make it do setvbuf() on stdin and stdout with mode _IONBF. Hopefully, this is correct. I'm closing it for now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: auravulpes/FENIX_coreutils#7
No description provided.