* dtable.cc (dtable::set_file_pointers_for_exec): New function.
* dtable.h (dtable::set_file_pointers_for_exec): Declare new function. * spawn.cc (spawn_guts): Call dtable::set_file_pointers_for_exec to set pointers to EOF when execing non-cygwin applications.
This commit is contained in:
@ -78,6 +78,7 @@ public:
|
||||
operator fhandler_base **() {return fds;}
|
||||
void stdio_init ();
|
||||
void get_debugger_info ();
|
||||
void set_file_pointers_for_exec ();
|
||||
};
|
||||
|
||||
void dtable_init (void);
|
||||
|
Reference in New Issue
Block a user