diff --git a/gencat/libs.c b/gencat/libs.c index 00bd21f..8ae3c7b 100644 --- a/gencat/libs.c +++ b/gencat/libs.c @@ -95,6 +95,8 @@ void add_libdir(struct lib *lib, const char *path) de = readdir(dir); if (!de) break; + if (strchr(de->d_name, '~')) + continue; len = strlen(de->d_name); if (len < 4) continue;