Eric Blake <[EMAIL PROTECTED]> writes: > Maybe the closeout module needs to be updated to worry about stdin as well > as stdout/stderr?
Coreutils doesn't need that, as it doesn't have the problem. The two apps that I thought might have the problem solve it in a different way. 'head' bypasses stdio. 'od -N' sets the stdio input buffer size to 1 (which is slow and goes beyond what POSIX requires, but it does work). So I suggest creating a new module 'closein' instead.