From e358f8d12f1537a7d0509984207a700205b2c20f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 1 Dec 2022 21:20:44 +0100 Subject: 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 --- winsup/cygwin/dcrt0.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/dcrt0.cc') 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; -- cgit v1.1