mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Revert shared_ptr<io_data_t> changes until kinks are ironed out
https://github.com/fish-shell/fish-shell/pull/487 Revert "Merge branch 'oo-io' of git://github.com/xiaq/fish-shell into xiaq-oo-io" This reverts commitf3c8f535a4, reversing changes made tob02f6cf3bc. Also revertsac023f7588anda79d3c680c
This commit is contained in:
4
proc.cpp
4
proc.cpp
@@ -869,7 +869,7 @@ static int select_try(job_t *j)
|
||||
|
||||
for (size_t idx = 0; idx < j->io.size(); idx++)
|
||||
{
|
||||
const io_data_t *d = j->io.at(idx).get();
|
||||
const io_data_t *d = j->io.at(idx);
|
||||
if (d->io_mode == IO_BUFFER)
|
||||
{
|
||||
int fd = d->param1.pipe_fd[0];
|
||||
@@ -909,7 +909,7 @@ static void read_try(job_t *j)
|
||||
*/
|
||||
for (size_t idx = 0; idx < j->io.size(); idx++)
|
||||
{
|
||||
io_data_t *d = j->io.at(idx).get();
|
||||
io_data_t *d = j->io.at(idx);
|
||||
if (d->io_mode == IO_BUFFER)
|
||||
{
|
||||
buff=d;
|
||||
|
||||
Reference in New Issue
Block a user