mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(write_protected_non_symlink): Change comment to agree with the code.
This commit is contained in:
1 parent
b0ecfaf324
commit
d6b83b2f9b
1 file changed
+2
-2
+2
-2
@@ -544,8 +544,8 @@ is_empty_dir (char const *dir)
|
||||
return saved_errno == 0 ? true : false;
|
||||
}
|
||||
|
||||
/* Return true if FILE is not a symbolic link and it is not writable.
|
||||
Also return true if FILE cannot be lstat'ed. Otherwise, return false.
|
||||
/* Return true if FILE is determined to be an unwritable non-symlink.
|
||||
Otherwise, return false (including when lstat'ing it fails).
|
||||
If lstat succeeds, set *BUF_P to BUF.
|
||||
This is to avoid calling euidaccess when FILE is a symlink. */
|
||||
static bool
|
||||
|
||||
Reference in new issue
Block a user