diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-01 01:12:47 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-17 14:54:18 +0800 |
commit | 664fee5c6ee4214f72c24bed4256cc7a4b207483 (patch) | |
tree | 72b6e606acc8bc03b7d524c840b333cf9de3afe7 /io.h | |
parent | 146a3530859ebade88d032814bdf049dcff61bfb (diff) |
Use new IO_INVALID as default value of io_data_t::io_mode
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ using std::tr1::shared_ptr; */ enum io_mode_t { - IO_FILE, IO_PIPE, IO_FD, IO_BUFFER, IO_CLOSE + IO_INVALID, IO_FILE, IO_PIPE, IO_FD, IO_BUFFER, IO_CLOSE }; /** Represents an FD redirection */ @@ -99,7 +99,7 @@ public: io_data_t() : out_buffer(), - io_mode(IO_FILE), + io_mode(IO_INVALID), fd(0), param1(), param2(), |