* shared.cc (offsets): Reorder so that console_state is lowest in

memory.  Explain why.
	(open_shared): Accommodate reordering of offsets array.
	* shared_info.h (shared_locations): Reorder SH_SHARED_CONSOLE after
	SH_MYSELF.
This commit is contained in:
Corinna Vinschen
2011-05-27 06:11:05 +00:00
parent 28667da372
commit bfce73c261
3 changed files with 23 additions and 10 deletions

View File

@ -64,8 +64,8 @@ enum shared_locations
{
SH_CYGWIN_SHARED,
SH_USER_SHARED,
SH_SHARED_CONSOLE,
SH_MYSELF,
SH_SHARED_CONSOLE,
SH_TOTAL_SIZE,
SH_JUSTCREATE,
SH_JUSTOPEN