mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
Don't put empty directories in unix-built ankh.
This commit is contained in:
parent
376a5ecbaa
commit
3d9cda2509
4
v/unix.c
4
v/unix.c
@ -663,7 +663,9 @@ _unix_dir_ankh(u2_udir* dir_u)
|
||||
u2_noun ank = _unix_dir_ankh(dis_u);
|
||||
|
||||
// uL(fprintf(uH, "dir %s\n", u2_cr_string(pre)));
|
||||
pam = u2_ckd_by_put(pam, pre, ank);
|
||||
if ( 0 != u2h(ank) ) {
|
||||
pam = u2_ckd_by_put(pam, pre, ank);
|
||||
}
|
||||
}
|
||||
|
||||
for ( fil_u = dir_u->fil_u; fil_u; fil_u = fil_u->nex_u ) {
|
||||
|
Loading…
Reference in New Issue
Block a user