summaryrefslogtreecommitdiff
path: root/lib/fchmodat.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-06 20:21:28 -0600
committerEric Blake <ebb9@byu.net>2009-09-06 20:57:57 -0600
commitd4356ced2b562ac55101ab23a5321114c41e0eda (patch)
treeeeaba3f5113d51be7dd7e554a829d27e60c420a5 /lib/fchmodat.c
parentaa686284617c4695252f39a67c20dee5a28a8408 (diff)
downloadgnulib-d4356ced2b562ac55101ab23a5321114c41e0eda.tar.gz
doc: fix comments in recent patches
* lib/faccessat.c: Mention correct function. * lib/fchmodat.c: Likewise. * lib/fchownat.c: Likewise. * lib/symlinkat.c: Likewise. * doc/posix-headers/fcntl.texi (fcntl.h): Cygwin 1.7 has AT_* constants. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/fchmodat.c')
-rw-r--r--lib/fchmodat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fchmodat.c b/lib/fchmodat.c
index cc2776eb1e..53cafe06d5 100644
--- a/lib/fchmodat.c
+++ b/lib/fchmodat.c
@@ -37,8 +37,8 @@ static int lchmod (char const *f, mode_t m) { errno = ENOSYS; return -1; }
Invoke chmod or lchmod on file, FILE, using mode MODE, in the directory
open on descriptor FD. If possible, do it without changing the
working directory. Otherwise, resort to using save_cwd/fchdir,
- then mkdir/restore_cwd. If either the save_cwd or the restore_cwd
- fails, then give a diagnostic and exit nonzero.
+ then (chmod|lchmod)/restore_cwd. If either the save_cwd or the
+ restore_cwd fails, then give a diagnostic and exit nonzero.
Note that an attempt to use a FLAG value of AT_SYMLINK_NOFOLLOW
on a system without lchmod support causes this function to fail. */