mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Let io_data_t constructor take optional io_mode and fd
This commit is contained in:
parent
78ab7e7ba1
commit
89993e9cbf
1 changed files with 3 additions and 3 deletions
6
io.h
6
io.h
|
@ -97,10 +97,10 @@ public:
|
|||
/** Set to true if this is an input io redirection */
|
||||
bool is_input;
|
||||
|
||||
io_data_t() :
|
||||
io_data_t(io_mode_t m = IO_INVALID, int f=0) :
|
||||
out_buffer(),
|
||||
io_mode(IO_INVALID),
|
||||
fd(0),
|
||||
io_mode(m),
|
||||
fd(f),
|
||||
param1(),
|
||||
param2(),
|
||||
filename_cstr(NULL),
|
||||
|
|
Loading…
Reference in a new issue