Age | Commit message (Collapse) | Author |
|
if buffer is full from the start then there is no space
left for the next read, leave some room left in that case
also add some input generator for testing while we're here
|
|
- would overwrite to-be-printed content with memmove occasionally
- empty lines (n) would be considered as EOF early and make tailburst exit
- if no line was found in a read buffer would be grown even if not required
(e.g. no current usage check before growing :|)
|
|
remove pollhup, but clear errno properly so we can return
empty read
|
|
|
|
|
|
|
|
|
|
|
|
|