From e020ad0c068861325dca1655cb0ed487a22b67c5 Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Tue, 15 Jan 2013 17:10:40 +0800 Subject: Convert io_buffer_read to io_buffer_t::read --- exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exec.cpp') diff --git a/exec.cpp b/exec.cpp index c11d36df..4c6e8bfc 100644 --- a/exec.cpp +++ b/exec.cpp @@ -1008,7 +1008,7 @@ void exec(parser_t &parser, job_t *j) io_remove(j->io, io_buffer); - io_buffer_read(io_buffer.get()); + io_buffer->read(); const char *buffer = io_buffer->out_buffer_ptr(); size_t count = io_buffer->out_buffer_size(); @@ -1423,7 +1423,7 @@ static int exec_subshell_internal(const wcstring &cmd, wcstring_list_t *lst) status = proc_get_last_status(); } - io_buffer_read(io_buffer.get()); + io_buffer->read(); proc_set_last_status(prev_status); -- cgit v1.2.3