mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Spreadsheet: Pledge 'fattr' to avoid crashing after exporting as csv
This commit is contained in:
parent
ac6a3d068d
commit
22851287b1
1 changed files with 1 additions and 6 deletions
|
@ -22,18 +22,13 @@
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
if (pledge("stdio recvfd sendfd rpath unix cpath wpath thread", nullptr) < 0) {
|
||||
if (pledge("stdio recvfd sendfd rpath fattr unix cpath wpath thread", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
|
||||
if (pledge("stdio recvfd sendfd thread rpath cpath wpath unix", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
const char* filename = nullptr;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue