diff options
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index b2a1b68a5..047d97895 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -256,17 +256,15 @@ shared_info::initialize () } heap_init (); + get_session_parent_dir (); /* Create session dir if first process. */ if (!sversion) { tty.init (); /* Initialize tty table. */ + mt.initialize (); /* Initialize shared tape information. */ cb = sizeof (*this); /* Do last, after all shared memory initialization */ } - mt.initialize (); /* Initialize shared tape information. */ - - get_session_parent_dir (); /* Create session dir if first process. */ - if (cb != SHARED_INFO_CB) system_printf ("size of shared memory region changed from %u to %u", SHARED_INFO_CB, cb); |