From: Jim Meyering Date: Fri, 17 Oct 2003 10:50:13 +0000 (+0000) Subject: tweak comment X-Git-Tag: v5.1.0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5788d8e9b205ffc0cdf5086651be37bff221e03e;p=thirdparty%2Fcoreutils.git tweak comment --- diff --git a/src/du.c b/src/du.c index fbf361ae80..4de1a63fe7 100644 --- a/src/du.c +++ b/src/du.c @@ -476,10 +476,10 @@ du_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;