4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* shared.cc (shared_info::initialize): Remove myself check since hMainProc

initialization will allow user initialization to work.
This commit is contained in:
Christopher Faylor 2003-10-10 19:07:08 +00:00
parent f3d0380417
commit 4a204f6625
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2003-10-10 Christopher Faylor <cgf@redhat.com>
* shared.cc (shared_info::initialize): Remove myself check since
hMainProc initialization will allow user initialization to work.
2003-10-09 Yitzchak Scott-Thoennes <sthoenna@efn.org> 2003-10-09 Yitzchak Scott-Thoennes <sthoenna@efn.org>
* include/sys/mman.h (MAP_FAILED): Define as void *. * include/sys/mman.h (MAP_FAILED): Define as void *.
@ -6,8 +11,8 @@
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is * dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
dynamically loaded. dynamically loaded.
(shared_info::initialize): Don't initialize user stuff if myself * shared.cc (shared_info::initialize): Don't initialize user stuff if
doesn't exist. myself doesn't exist.
2003-10-08 Corinna Vinschen <corinna@vinschen.de> 2003-10-08 Corinna Vinschen <corinna@vinschen.de>

View File

@ -220,8 +220,7 @@ shared_info::initialize ()
if (!cygheap) if (!cygheap)
{ {
cygheap_init (); cygheap_init ();
if (myself) cygheap->user.init ();
cygheap->user.init ();
} }
heap_init (); heap_init ();