mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 18:16:30 +03:00
Merge remote-tracking branch 'burtonsamograd/ignore-emacs-temp-files' into test
This commit is contained in:
commit
48865ce5f9
@ -359,7 +359,10 @@ _unix_scan_mount_point(u3_umon* mon_u)
|
||||
else {
|
||||
if ( '.' != out_u->d_name[len_w]
|
||||
|| '\0' == out_u->d_name[len_w + 1]
|
||||
|| '~' == out_u->d_name[strlen(out_u->d_name) - 1] ) {
|
||||
|| '~' == out_u->d_name[strlen(out_u->d_name) - 1]
|
||||
|| ('#' == out_u->d_name[0] &&
|
||||
'#' == out_u->d_name[strlen(out_u->d_name) - 1])
|
||||
) {
|
||||
free(pax_c);
|
||||
continue;
|
||||
}
|
||||
@ -895,6 +898,8 @@ _unix_update_dir(u3_udir* dir_u)
|
||||
if ( !S_ISDIR(buf_u.st_mode) ) {
|
||||
if ( !strchr(out_u->d_name,'.')
|
||||
|| '~' == out_u->d_name[strlen(out_u->d_name) - 1]
|
||||
|| ('#' == out_u->d_name[0] &&
|
||||
'#' == out_u->d_name[strlen(out_u->d_name) - 1])
|
||||
) {
|
||||
free(pax_c);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user