[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 06/14: Correct documentation of ‘mkdir’ w.r.t. the umask
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] 06/14: Correct documentation of ‘mkdir’ w.r.t. the umask. |
Date: |
Thu, 16 Jun 2022 04:50:49 -0400 (EDT) |
civodul pushed a commit to branch wip-openat
in repository guile.
commit edfa3531c9ede9fcea8ca528edf2c8473f8f3b52
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Nov 16 11:06:29 2021 +0000
Correct documentation of ‘mkdir’ w.r.t. the umask.
* doc/ref/posix.texi (mkdir): Note that the umask is applied even if the
mode argument is set.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
doc/ref/posix.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index d261ac8da..7f136376b 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -902,7 +902,8 @@ the directory referred to by the file port @var{dir}.
Create a new directory named by @var{path}. If @var{mode} is omitted
then the permissions of the directory are set to @code{#o777}
masked with the current umask (@pxref{Processes, @code{umask}}).
-Otherwise they are set to the value specified with @var{mode}.
+Otherwise they are set to the value specified with @var{mode}
+masked with the current umask.
The return value is unspecified.
@end deffn
- [Guile-commits] branch wip-openat created (now 07f395eb1), Ludovic Courtès, 2022/06/16
- [Guile-commits] 08/14: Define a Scheme binding to ‘renameat’ when it exists., Ludovic Courtès, 2022/06/16
- [Guile-commits] 12/14: Define a Scheme binding to ‘fstatat’ when available., Ludovic Courtès, 2022/06/16
- [Guile-commits] 13/14: Define Scheme bindings to ‘openat’ when available., Ludovic Courtès, 2022/06/16
- [Guile-commits] 09/14: Define a Scheme binding to ‘fchmodat’ when it exists., Ludovic Courtès, 2022/06/16
- [Guile-commits] 11/14: Define a Scheme binding to ‘fchownat’ when it exists., Ludovic Courtès, 2022/06/16
- [Guile-commits] 01/14: Allow file ports in ‘chdir’ when supported., Ludovic Courtès, 2022/06/16
- [Guile-commits] 02/14: Allow file ports in ‘readlink’., Ludovic Courtès, 2022/06/16
- [Guile-commits] 06/14: Correct documentation of ‘mkdir’ w.r.t. the umask.,
Ludovic Courtès <=
- [Guile-commits] 07/14: Define AT_REMOVEDIR and others when available., Ludovic Courtès, 2022/06/16
- [Guile-commits] 14/14: Update NEWS., Ludovic Courtès, 2022/06/16
- [Guile-commits] 03/14: Allow file ports in ‘utime’., Ludovic Courtès, 2022/06/16
- [Guile-commits] 05/14: Define bindings to ‘mkdirat’ when the C function exists., Ludovic Courtès, 2022/06/16
- [Guile-commits] 04/14: Define ‘symlinkat’ wrapper when supported., Ludovic Courtès, 2022/06/16
- [Guile-commits] 10/14: Define a Scheme binding to ‘unlinkat’ when it exists., Ludovic Courtès, 2022/06/16