diff options
author | Christopher Faylor <me@cgf.cx> | 2012-02-14 23:08:20 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-02-14 23:08:20 +0400 |
commit | 4eb5175d905a233eea5651489a1f9698159b9c67 (patch) | |
tree | 89ed4c8efac9f1e5c12dc73791535702cef2749c /winsup/cygwin/init.cc | |
parent | 5401796acfc2b971a2f2c62eb43dab4ba540b0e5 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r-- | winsup/cygwin/init.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index 5b0416125..c8d4d02db 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -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 |