Everywhere: Fix typos - act III
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
Viktor Szépe 2025-04-09 17:02:30 +00:00 committed by Sam Atkins
parent 51b4b4a270
commit 19f88f96dc
Notes: github-actions[bot] 2025-06-16 13:21:54 +00:00
12 changed files with 16 additions and 16 deletions

View file

@ -99,7 +99,7 @@ int File::open_mode_to_options(OpenMode mode)
}
// Some open modes, like `ReadWrite` imply the ability to create the file if it doesn't exist.
// Certain applications may not want this privledge, and for compability reasons, this is
// Certain applications may not want this privilege, and for compatibility reasons, this is
// the easiest way to add this option.
if (has_flag(mode, OpenMode::DontCreate))
flags &= ~O_CREAT;