From: Jim Meyering Date: Fri, 17 Oct 2003 10:49:38 +0000 (+0000) Subject: tweak comment X-Git-Tag: v5.1.0~360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bac4198f278c21ebcd13fc6e9a30ffff5b9e760;p=thirdparty%2Fcoreutils.git tweak comment --- diff --git a/src/chown-core.c b/src/chown-core.c index 25b273bf5e..41edd4c6fd 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;