Skip to content

Commit

Permalink
meld: once is enough (#483)
Browse files Browse the repository at this point in the history
Fixes #482. This looks like a bad cherry-pick on my part, porting old
code.
  • Loading branch information
joemfb authored Jun 30, 2023
2 parents 789b794 + 4c37156 commit 5696d26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/vere/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1925,13 +1925,10 @@ _cw_meld(c3_i argc, c3_c* argv[])
}

u3_disk* log_u = _cw_disk_init(u3_Host.dir_c); // XX s/b try_aquire lock
c3_w pre_w;

u3C.wag_w |= u3o_hashless;
u3m_boot(u3_Host.dir_c, (size_t)1 << u3_Host.ops_u.lom_y);

pre_w = u3a_open(u3R);
u3u_meld();
u3a_print_memory(stderr, "urbit: meld: gained", u3u_meld());

u3m_save();
Expand Down

0 comments on commit 5696d26

Please sign in to comment.