summaryrefslogtreecommitdiff
path: root/src/chown-core.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-17 10:49:38 +0000
committerJim Meyering <jim@meyering.net>2003-10-17 10:49:38 +0000
commit1bac4198f278c21ebcd13fc6e9a30ffff5b9e760 (patch)
tree135267c0f96a363ad336493d7c8d445edb9f6205 /src/chown-core.c
parent689e38ae7c8a4dbe856776a9fbaae7fa54edc34b (diff)
downloadcoreutils-1bac4198f278c21ebcd13fc6e9a30ffff5b9e760.tar.xz
tweak comment
Diffstat (limited to 'src/chown-core.c')
-rw-r--r--src/chown-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chown-core.c b/src/chown-core.c
index 25b273bf5..41edd4c6f 100644
--- a/src/chown-core.c
+++ b/src/chown-core.c
@@ -289,10 +289,10 @@ chown_files (char **files, int bit_flags,
if (fts == NULL)
{
/* This can fail in three ways: out of memory, invalid bit_flags,
- and one of the FILES is an empty string.
- We could try to decipher that errno==EINVAL means invalid
- bit_flags and errno==ENOENT, but that seems wrong. Ideally
- fts_open would return a proper error indicator. For now,
+ and one or more of the FILES is an empty string. We could try
+ to decipher that errno==EINVAL means invalid bit_flags and
+ errno==ENOENT means there's an empty string, but that seems wrong.
+ Ideally, fts_open would return a proper error indicator. For now,
we'll presume that the bit_flags are valid and just check for
empty strings. */
bool invalid_arg = false;