* pinfo.cc (_pinfo::set_ctty): Revert 2012-02-07 change to skip function if tty
in question == our ctty. * syscalls.cc (setsid): Avoid two function calls. * dtable.cc (dtable::dup_worker): Remove debugging. * init.cc (search_for): Calculate for every new process rather than using shared value. (threadfunc_ix): Fill in for ever new process rather than sing shared value.
This commit is contained in:
@@ -16,8 +16,8 @@ details. */
|
||||
|
||||
static DWORD _my_oldfunc;
|
||||
|
||||
static char *search_for __attribute__((section (".cygwin_dll_common"), shared)) = (char *) cygthread::stub;
|
||||
unsigned threadfunc_ix[8] __attribute__((section (".cygwin_dll_common"), shared));
|
||||
static char *search_for = (char *) cygthread::stub;
|
||||
unsigned threadfunc_ix[8];
|
||||
|
||||
static bool dll_finished_loading;
|
||||
#define OLDFUNC_OFFSET -1
|
||||
|
Reference in New Issue
Block a user