diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-29 15:45:15 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-30 16:55:04 +0100 |
commit | f6bebd34b62a1b1bd8e2f98bae3c491bd519c1ac (patch) | |
tree | 846f4fb80c8a7b5bdcc4c76bad601b3d3521c638 /lib | |
parent | d70b6853c0f2417f32cc352fe2082978d4ec2f86 (diff) | |
download | grep-f6bebd34b62a1b1bd8e2f98bae3c491bd519c1ac.tar.gz |
maint: enable "file system" check
* cfg.mk (local-checks-to-skip): Enable sc_file_system.
* lib/savedir.c (savedir): Tweak spelling. Remove trailing blanks.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/savedir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/savedir.c b/lib/savedir.c index 0ab41035..e2c015af 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -98,7 +98,7 @@ savedir (const char *dir, off_t name_size, struct exclude *included_patterns, while ((dp = readdir (dirp)) != NULL) { - /* Skip "." and ".." (some NFS filesystems' directories lack them). */ + /* Skip "." and ".." (some NFS file systems' directories lack them). */ if (dp->d_name[0] != '.' || (dp->d_name[1] != '\0' && (dp->d_name[1] != '.' || dp->d_name[2] != '\0'))) @@ -116,7 +116,7 @@ savedir (const char *dir, off_t name_size, struct exclude *included_patterns, && excluded_file_name (excluded_patterns, dp->d_name)) continue; } - + if ( excluded_directory_patterns && isdir1 (dir, dp->d_name) ) { |