From a4d8dcbec5066a39160df6e310f0e00e07d64c93 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Wed, 23 Nov 2022 18:04:47 -0800 Subject: [PATCH] Disable mremap for SQLite (reapply 80b211e3) --- third_party/sqlite3/os_unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/sqlite3/os_unix.c b/third_party/sqlite3/os_unix.c index 9c8626879..b3f226009 100644 --- a/third_party/sqlite3/os_unix.c +++ b/third_party/sqlite3/os_unix.c @@ -329,6 +329,7 @@ static pid_t randomnessPid = 0; #define threadid 0 #endif +#if 0 /* ** HAVE_MREMAP defaults to true on Linux and false everywhere else. */ @@ -339,6 +340,7 @@ static pid_t randomnessPid = 0; # define HAVE_MREMAP 0 # endif #endif +#endif #ifdef __linux__ /*