mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
Use new IO_INVALID as default value of io_data_t::io_mode
This commit is contained in:
parent
146a353085
commit
664fee5c6e
1 changed files with 2 additions and 2 deletions
4
io.h
4
io.h
|
@ -10,7 +10,7 @@ using std::tr1::shared_ptr;
|
||||||
*/
|
*/
|
||||||
enum io_mode_t
|
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 */
|
/** Represents an FD redirection */
|
||||||
|
@ -99,7 +99,7 @@ public:
|
||||||
|
|
||||||
io_data_t() :
|
io_data_t() :
|
||||||
out_buffer(),
|
out_buffer(),
|
||||||
io_mode(IO_FILE),
|
io_mode(IO_INVALID),
|
||||||
fd(0),
|
fd(0),
|
||||||
param1(),
|
param1(),
|
||||||
param2(),
|
param2(),
|
||||||
|
|
Loading…
Reference in a new issue