mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-19 09:51:16 -03:00
Remove pipe_read_fd
In practice it was always STDIN_FILENO.
This commit is contained in:
@@ -902,7 +902,7 @@ static bool exec_process_in_job(parser_t &parser, process_t *p, std::shared_ptr<
|
||||
|
||||
// Read pipe goes last.
|
||||
if (!p->is_first_in_job) {
|
||||
pipe_read.reset(new io_pipe_t(p->pipe_read_fd, true));
|
||||
pipe_read.reset(new io_pipe_t(STDIN_FILENO, true));
|
||||
// Record the current read in pipe_read.
|
||||
pipe_read->pipe_fd[0] = pipe_current_read.fd();
|
||||
process_net_io_chain.push_back(pipe_read);
|
||||
|
||||
Reference in New Issue
Block a user