mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
ignore files without a dot in the name, to avoid disastrous consequences
This commit is contained in:
parent
8703249546
commit
8ae8be35c2
3
v/unix.c
3
v/unix.c
@ -472,6 +472,9 @@ _unix_dir_update(u2_udir* dir_u, DIR* rid_u)
|
||||
else if ( ('.' == out_u->d_name[0]) ) { // XX screws up some paths
|
||||
continue;
|
||||
}
|
||||
else if ( ( NULL == strrchr(out_u->d_name, '.')) ) {
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
c3_c* pax_c = _unix_down(dir_u->pax_c, out_u->d_name);
|
||||
struct stat buf_u;
|
||||
|
Loading…
Reference in New Issue
Block a user