summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-03 20:16:23 +0000
committerChristopher Faylor <me@cgf.cx>2000-07-03 20:16:23 +0000
commit3b09c754da824fccaa85c4f1219599032e9a0676 (patch)
treefd5b5f709ce73020aa2c70fcfc6610675fb47a7d /winsup/cygwin/dcrt0.cc
parent8366e93be9f55449a38d8640caf454640e5e9105 (diff)
downloadcygnal-3b09c754da824fccaa85c4f1219599032e9a0676.tar.gz
cygnal-3b09c754da824fccaa85c4f1219599032e9a0676.tar.bz2
cygnal-3b09c754da824fccaa85c4f1219599032e9a0676.zip
Revert errnoneous commit.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 8e33550e0..80a3d26c0 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -637,6 +637,9 @@ dll_crt0_1 ()
(void) SetErrorMode (SEM_FAILCRITICALERRORS);
+ /* Initialize the heap. */
+ heap_init ();
+
/* Initialize events. */
events_init ();
@@ -670,9 +673,6 @@ dll_crt0_1 ()
longjmp (ciresrv->jmp, ciresrv->cygpid);
}
- /* Initialize the heap. */
- heap_init ();
-
/* Initialize our process table entry. Don't use the parent info for
dynamically loaded case. */
pinfo_init ((dynamically_loaded) ? NULL : info);