diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-15 16:44:31 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-17 15:55:05 +0800 |
commit | a20e0b9e2eb25b16e8416ac7758c2da0216dc6d8 (patch) | |
tree | 44a338bf17cc9b55ea454896419a8cd732f22753 /proc.cpp | |
parent | 4b6bd7cae5e731f8e2bafeabca59e5aaabd6749d (diff) |
Split out io_buffer_t, make input_redirect in exec() a raw pointer
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |