* 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:
Christopher Faylor
2002-10-17 17:45:09 +00:00
parent e9350b6575
commit fef1edbc9a
4 changed files with 20 additions and 0 deletions

View File

@ -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);