diff options
author | Christopher Faylor <me@cgf.cx> | 2003-10-10 19:07:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-10-10 19:07:08 +0000 |
commit | 4a204f662564c871b6cf89f9a595e1679131a460 (patch) | |
tree | 87d4acaccd3e17a351c66caa33a3fcae37c55a86 | |
parent | f3d038041792fc7b768d64be208621bbe4c3cf8c (diff) | |
download | newlib-4a204f662564c871b6cf89f9a595e1679131a460.zip newlib-4a204f662564c871b6cf89f9a595e1679131a460.tar.gz newlib-4a204f662564c871b6cf89f9a595e1679131a460.tar.bz2 |
* shared.cc (shared_info::initialize): Remove myself check since hMainProc
initialization will allow user initialization to work.
-rw-r--r-- | winsup/cygwin/ChangeLog | 9 | ||||
-rw-r--r-- | winsup/cygwin/shared.cc | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index dfff4fc..ebfec72 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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> * 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 dynamically loaded. - (shared_info::initialize): Don't initialize user stuff if myself - doesn't exist. + * shared.cc (shared_info::initialize): Don't initialize user stuff if + myself doesn't exist. 2003-10-08 Corinna Vinschen <corinna@vinschen.de> diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index b3da33b..911465a 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -220,8 +220,7 @@ shared_info::initialize () if (!cygheap) { cygheap_init (); - if (myself) - cygheap->user.init (); + cygheap->user.init (); } heap_init (); |