mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Applications: Add "thread" for HexEditor
HexEditor crashes during try OpenFile dialog.
This commit is contained in:
parent
59f87d12d0
commit
089022e7f6
Notes:
sideshowbarker
2024-07-19 07:16:07 +09:00
Author: https://github.com/asliturk
Commit: 089022e7f6
Pull-request: https://github.com/SerenityOS/serenity/pull/1976
1 changed files with 2 additions and 2 deletions
|
@ -30,14 +30,14 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
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");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
GUI::Application app(argc, argv);
|
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");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue