ignore ~files too. hokey unix stuff.

This commit is contained in:
~hatteb-mitlyd 2014-03-25 10:39:53 -07:00
parent 6151a2ba5d
commit d4cf1aabed

View File

@ -486,7 +486,9 @@ _unix_dir_update(u2_udir* dir_u, DIR* rid_u)
mpz_t mod_mp;
u2_ufil* fil_u;
if ( ( NULL == strrchr(out_u->d_name, '.')) ) {
if ( ( NULL == strrchr(out_u->d_name, '.')) ||
( '~' == out_u->d_name[strlen(out_u->d_name) - 1] )
) {
continue;
}