Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update builtin.{txt,jax} #1988

Merged
merged 2 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/builtin.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Feb 23
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Mar 11


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -7475,11 +7475,11 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E739*
< Note defer のスケジュール設定が失敗した場合、ディレクトリは削
除されないことに注意。これはメモリ不足の場合にのみ発生する。

{prot}は作成するディレクトリの保護ビット。デフォルトは0o755
(rwxr-xr-x: 所有者は読み書き可能、他の人は読み込み可能)。
他の人が読み込めないようにするには0o700とすること。{prot} は
{name} の最後の部分にのみ適用される。なので、/tmp/foo/bar
を作成すると /tmp/foo は 0o755 で作成される
{prot} は作成するディレクトリの保護ビット。デフォルトは 0o755
(rwxr-xr-x: 所有者は読み書き可能、他の人は読み込み可能)。他の
人が読み込めないようにするには 0o700 とすること。これは新しく
作成されたディレクトリに使用される。Note: (Unix の場合) umask
は {prot} に適用されることに注意
例: >
:call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)

Expand Down
7 changes: 3 additions & 4 deletions en/builtin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Feb 23
*builtin.txt* For Vim version 9.1. Last change: 2025 Mar 11


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -7587,9 +7587,8 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E739*
If {prot} is given it is used to set the protection bits of
the new directory. The default is 0o755 (rwxr-xr-x: r/w for
the user, readable for others). Use 0o700 to make it
unreadable for others. This is only used for the last part of
{name}. Thus if you create /tmp/foo/bar then /tmp/foo will be
created with 0o755.
unreadable for others. This is used for the newly created
directories. Note: umask is applied to {prot} (on Unix).
Example: >
:call mkdir($HOME .. "/tmp/foo/bar", "p", 0o700)

Expand Down