mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
copiousoutput: only mark /dev/fd/%d as popen data . I reflect if ELinks may
run out of fds
This commit is contained in:
parent
4dc4ea47f2
commit
f377e6f4af
@ -213,7 +213,7 @@ read_special(struct connection *conn, int fd)
|
||||
return;
|
||||
}
|
||||
conn->socket->fd = fd;
|
||||
conn->popen = 1;
|
||||
if (fd != STDIN_FILENO) conn->popen = 1;
|
||||
rb = alloc_read_buffer(conn->socket);
|
||||
if (!rb) {
|
||||
abort_connection(conn, S_OUT_OF_MEM);
|
||||
|
Loading…
Reference in New Issue
Block a user