mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Use new IO_INVALID as default value of io_data_t::io_mode
This commit is contained in:
parent
146a353085
commit
664fee5c6e
4
io.h
4
io.h
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user