mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
ignore ~files too. hokey unix stuff.
This commit is contained in:
parent
6151a2ba5d
commit
d4cf1aabed
4
v/unix.c
4
v/unix.c
@ -486,7 +486,9 @@ _unix_dir_update(u2_udir* dir_u, DIR* rid_u)
|
|||||||
mpz_t mod_mp;
|
mpz_t mod_mp;
|
||||||
u2_ufil* fil_u;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user