mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
Applications: Add "thread" for HexEditor
HexEditor crashes during try OpenFile dialog.
This commit is contained in:
parent
59f87d12d0
commit
089022e7f6
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue