diff options
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index b505cc947..22138d0be 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -206,10 +206,7 @@ shared_name (WCHAR *ret_buf, const WCHAR *str, int num) /* The order in offsets is so that the constant blocks shared_info and user_info are right below the cygwin DLL, then the pinfo block - which changes with each process. Below that is the console_state, - an optional block which only exists when running in a Windows console - window. Therefore, if we are not running in a console, we have 64K - more of contiguous memory below the Cygwin DLL. */ + which changes with each process. */ static ptrdiff_t offsets[] = { - pround (sizeof (shared_info)), @@ -220,8 +217,7 @@ static ptrdiff_t offsets[] = - pround (sizeof (_pinfo)), - pround (sizeof (shared_info)) - pround (sizeof (user_info)) - - pround (sizeof (_pinfo)) - - pround (sizeof (console_state)), + - pround (sizeof (_pinfo)), 0 }; |