mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-29 03:46:50 +00:00
Calling umask and open with same permission value will result in a file with no permissions bits if the program is stopped while it is doing an IO. This will result in an error with EACCES when we try to run the benchmark with the same file name. The file needs to be manually removed before continuing the benchmark. There is no use in calling umask here, so just remove it so that interrupting the program while it is doing an IO will not result int the file with no permissions the next time we run the program.
4.7 KiB
4.7 KiB