aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-15 17:10:40 +0800
committerGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-17 15:55:05 +0800
commite020ad0c068861325dca1655cb0ed487a22b67c5 (patch)
treed85c95a931bd61ff11de9dddfddf466cde60c155 /exec.cpp
parentdf0c1eb32c93ea72318f351c4c5867b8bbf47caf (diff)
Convert io_buffer_read to io_buffer_t::read
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp4
1 files changed, 2 insertions, 2 deletions
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);