diff options
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 911465aea..b3da33b66 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -220,7 +220,8 @@ shared_info::initialize () if (!cygheap) { cygheap_init (); - cygheap->user.init (); + if (myself) + cygheap->user.init (); } heap_init (); |