Index: fp_fs.c =================================================================== --- fp_fs.c (revision 32717) +++ fp_fs.c (revision 32718) @@ -188,9 +188,10 @@ } } - if ((len >= 4) && (RND_NSTRCMP(fn + (len - 4), ".png") == 0)) return 1; - if ((len >= 4) && (RND_NSTRCMP(fn + (len - 4), ".pcb") == 0)) return 1; - if ((len >= 5) && (RND_NSTRCMP(fn + (len - 5), ".html") == 0)) return 1; + rnd_conf_loop_list_str(&conf_fp_fs.plugins.fp_fs.ignore_suffix, ci, p, n) { + long slen = strlen(p); + if ((len >= slen) && (strcmp(fn + (len - slen), p) == 0)) return 1; + } return 0; } @@ -259,10 +260,8 @@ may exist in a library tree to provide an html browsable index of the library. */ l = strlen(subdirentry->d_name); - if (fp_fs_ignore_fn(subdirentry->d_name, l)) { - printf("ignored: '%s'\n", subdirentry->d_name); + if (fp_fs_ignore_fn(subdirentry->d_name, l)) continue; - } if (stat(subdirentry->d_name, &buffer) == 0) { strcpy(fn_end, subdirentry->d_name); if ((S_ISREG(buffer.st_mode)) || (RND_WRAP_S_ISLNK(buffer.st_mode))) {