Applications: Add "thread" for HexEditor

HexEditor crashes during try OpenFile dialog.
This commit is contained in:
Hüseyin ASLITÜRK 2020-04-26 22:16:37 +03:00 committed by Andreas Kling
parent 59f87d12d0
commit 089022e7f6
Notes: sideshowbarker 2024-07-19 07:16:07 +09:00

View file

@ -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;
}