summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 9fd9fa8ba..7cc3ea968 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -725,6 +725,11 @@ dll_crt0_1 (char *)
check_sanity_and_sync (user_data);
malloc_init ();
+#ifdef CGF
+ int i = 0;
+ while (i)
+ cmalloc (HEAP_STR, 2000000);
+#endif
/* Initialize SIGSEGV handling, etc. */
init_exceptions (&cygwin_except_entry);