mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Split out io_buffer_t, make input_redirect in exec() a raw pointer
This commit is contained in:
4
proc.cpp
4
proc.cpp
@@ -902,7 +902,7 @@ static int select_try(job_t *j)
|
||||
*/
|
||||
static void read_try(job_t *j)
|
||||
{
|
||||
io_data_t *buff=NULL;
|
||||
io_buffer_t *buff=NULL;
|
||||
|
||||
/*
|
||||
Find the last buffer, which is the one we want to read from
|
||||
@@ -912,7 +912,7 @@ static void read_try(job_t *j)
|
||||
io_data_t *d = j->io.at(idx).get();
|
||||
if (d->io_mode == IO_BUFFER)
|
||||
{
|
||||
buff=d;
|
||||
buff = static_cast<io_buffer_t *>(d);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user