• Nils Goroll's avatar
    The stdin filedescriptor needs to be non-blocking · 71281335
    Nils Goroll authored
    Any real-world object will exceed the pipe buffer in size. Unless the
    filter program which we invoke implemented an infinite buffer (and
    requiring something like this would miss the point of stream
    processing), we can only write to the program as much data as it
    accepts for its input buffering (plus the pipe buffer size), before we
    need to read its output.
    
    Thus, we need to ensure that write(fds[STDIN_FILENO].fd) does not
    block.
    71281335
Name
Last commit
Last update
m4 Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...