diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-15 17:10:40 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-17 15:55:05 +0800 |
commit | e020ad0c068861325dca1655cb0ed487a22b67c5 (patch) | |
tree | d85c95a931bd61ff11de9dddfddf466cde60c155 /exec.cpp | |
parent | df0c1eb32c93ea72318f351c4c5867b8bbf47caf (diff) |
Convert io_buffer_read to io_buffer_t::read
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |