* fhandler.h (fhandler_termios::fixup_after_exec): Make non-inlined.

* fhandler_termios.cc (fhandler_termios::fixup_after_exec): Don't call
fixup_after_fork if close_on_exec'ed.
This commit is contained in:
Christopher Faylor
2005-12-20 18:14:42 +00:00
parent e5340d82b2
commit 7c578a4fa0
3 changed files with 14 additions and 1 deletions

View File

@@ -777,7 +777,7 @@ class fhandler_termios: public fhandler_base
virtual DWORD __acquire_output_mutex (const char *fn, int ln, DWORD ms) {return 1;}
virtual void __release_output_mutex (const char *fn, int ln) {}
void fixup_after_fork (HANDLE);
void fixup_after_exec () { fixup_after_fork (NULL); }
void fixup_after_exec ();
void echo_erase (int force = 0);
virtual _off64_t lseek (_off64_t, int);
};