2025-07-21 12:07:56 -03:00
|
|
|
From b96f875c54e2d888413a701eb9727d704b995ce0 Mon Sep 17 00:00:00 2001
|
2024-12-04 16:48:38 -03:00
|
|
|
From: Ivan Grokhotkov <ivan@espressif.com>
|
|
|
|
|
Date: Tue, 22 Oct 2024 23:58:17 +0200
|
2025-07-21 12:07:56 -03:00
|
|
|
Subject: [PATCH 01/14] workaround newlib resource.h limitations
|
2024-12-04 16:48:38 -03:00
|
|
|
|
|
|
|
|
configure script checks if resource.h is available but doesn't check
|
|
|
|
|
if it defines all the necessary functions.
|
|
|
|
|
|
|
|
|
|
Temporary workaround until these functions are added to IDF.
|
2024-12-10 12:06:53 -03:00
|
|
|
|
|
|
|
|
Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
|
2024-12-04 16:48:38 -03:00
|
|
|
---
|
|
|
|
|
Modules/faulthandler.c | 2 +-
|
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
|
|
|
|
|
index b62362f2777..327d883f94e 100644
|
|
|
|
|
--- a/Modules/faulthandler.c
|
|
|
|
|
+++ b/Modules/faulthandler.c
|
|
|
|
|
@@ -968,7 +968,7 @@ faulthandler_suppress_crash_report(void)
|
|
|
|
|
SetErrorMode(mode | SEM_NOGPFAULTERRORBOX);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
-#ifdef HAVE_SYS_RESOURCE_H
|
|
|
|
|
+#if 0 && defined(HAVE_SYS_RESOURCE_H)
|
|
|
|
|
struct rlimit rl;
|
|
|
|
|
|
|
|
|
|
/* Disable creation of core dump */
|
|
|
|
|
--
|
2025-07-21 12:07:56 -03:00
|
|
|
2.50.0
|
2024-12-04 16:48:38 -03:00
|
|
|
|