From 74021166d3c043747e3f531384eb5863d034d098 Mon Sep 17 00:00:00 2001 From: Seth Morabito Date: Sat, 23 Oct 2021 14:32:10 -0700 Subject: [PATCH] 3b2: Remove glibc-specific longjmp At one point in the distant past, there was an unremembered reason to prefer __libc_longjmp if it was available. It is no longer needed, and has been removed from glibc in the most recent versions. Fixes #1088. --- 3B2/3b2_defs.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/3B2/3b2_defs.h b/3B2/3b2_defs.h index 1b48a1b5..9358e4bf 100644 --- a/3B2/3b2_defs.h +++ b/3B2/3b2_defs.h @@ -54,12 +54,6 @@ #define noret void #endif -#if defined(__GLIBC__) && !defined(__cplusplus) -/* use glibc internal longjmp to bypass fortify checks */ -noret __libc_longjmp(jmp_buf buf, int val); -#define longjmp __libc_longjmp -#endif - #ifndef MAX #define MAX(x, y) ((x) > (y) ? (x) : (y)) #endif