Skip to content

Commit 2ebd18f

Browse files
authored
Merge pull request #1988 from h-east/update-builtin
Update builtin.{txt,jax}
2 parents 5847b6f + b095b43 commit 2ebd18f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

doc/builtin.jax

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Feb 23
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Mar 11
22

33

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

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

en/builtin.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2025 Feb 23
1+
*builtin.txt* For Vim version 9.1. Last change: 2025 Mar 11
22

33

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

0 commit comments

Comments
 (0)