From 089022e7f6dbc38583be3321a7a20de1f4999a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20ASLIT=C3=9CRK?= Date: Sun, 26 Apr 2020 22:16:37 +0300 Subject: [PATCH] Applications: Add "thread" for HexEditor HexEditor crashes during try OpenFile dialog. --- Applications/HexEditor/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/HexEditor/main.cpp b/Applications/HexEditor/main.cpp index f20ade72e5..7ef6b76ea0 100644 --- a/Applications/HexEditor/main.cpp +++ b/Applications/HexEditor/main.cpp @@ -30,14 +30,14 @@ int main(int argc, char** argv) { - if (pledge("stdio shared_buffer accept rpath unix cpath wpath fattr", nullptr) < 0) { + if (pledge("stdio shared_buffer accept rpath unix cpath wpath fattr thread", nullptr) < 0) { perror("pledge"); return 1; } GUI::Application app(argc, argv); - if (pledge("stdio shared_buffer accept rpath cpath wpath", nullptr) < 0) { + if (pledge("stdio shared_buffer accept rpath cpath wpath thread", nullptr) < 0) { perror("pledge"); return 1; }