aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-12-01 21:20:44 +0100
committerCorinna Vinschen <corinna@vinschen.de>2022-12-01 21:20:53 +0100
commite358f8d12f1537a7d0509984207a700205b2c20f (patch)
treeb5cc4875544c95d5ff7fbfff44682e67a049d126 /winsup/cygwin/dcrt0.cc
parenta263fe0b268580273c1adc4b1bad256147990222 (diff)
downloadnewlib-e358f8d12f1537a7d0509984207a700205b2c20f.zip
newlib-e358f8d12f1537a7d0509984207a700205b2c20f.tar.gz
newlib-e358f8d12f1537a7d0509984207a700205b2c20f.tar.bz2
Cygwin: multiple_cygwin_problem: drop obsolete check for "cygheap"
After decoupling cygheap from the DLL loading address, the check for a different _cygheap_start has gone. So the matching string check in multiple_cygwin_problem is obsolete now. Fixes: 2f9b8ff00cce ("Cygwin: decouple cygheap from Cygwin DLL") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 84db38c..e5f19f1 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1262,7 +1262,7 @@ api_fatal (const char *fmt, ...)
void
multiple_cygwin_problem (const char *what, uintptr_t magic_version, uintptr_t version)
{
- if (_cygwin_testing && (strstr (what, "proc") || strstr (what, "cygheap")))
+ if (_cygwin_testing && (strstr (what, "proc")))
{
child_proc_info->type = _CH_WHOOPS;
return;