~martanne/ciopfs

09ec0f6013093cb9b5a6b810538af83167e2dafd — Marc Andre Tanner 13 years ago 672b952
Skip any directory entry which isn't all lower case.
1 files changed, 4 insertions(+), 0 deletions(-)

M ciopfs.c
M ciopfs.c => ciopfs.c +4 -0
@@ 240,6 240,10 @@ static int ciopfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
		struct stat st;
		char *dname;
		char *attrlower;
		
		/* skip any entry which is not all lower case for now */
		if (str_contains_upper(de->d_name))
			continue;

		memset(&st, 0, sizeof(st));
		st.st_ino = de->d_ino;