1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-01 02:05:33 +00:00

copiousoutput: only mark /dev/fd/%d as popen data . I reflect if ELinks may

run out of fds
This commit is contained in:
Witold Filipczyk 2006-05-09 09:42:00 +02:00 committed by Witold Filipczyk
parent 4dc4ea47f2
commit f377e6f4af

View File

@ -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);