jets: reenable +uni:by

This passes booting and runing +test in -g mode.
This commit is contained in:
Elliot Glaysher 2020-05-08 15:24:38 -07:00
parent a5c5562acb
commit 418feb9332
2 changed files with 4 additions and 9 deletions

View File

@ -1,8 +1,5 @@
/* j/4/by_uni.c
** XXX THIS IS DISABLED
** specifically, s/hor/gor/g (already done?)
** and eliminate memory leaks
*/
*/
#include "all.h"
/* functions
@ -87,8 +84,6 @@ u3qdb_uni(u3_noun a,
}
}
// XX disabled in tree.c, reference counts presumed wrong
//
u3_noun
u3wdb_uni(u3_noun cor)
{

View File

@ -1648,8 +1648,8 @@ static c3_c* _141_two__in_ha[] = {
};
// https://github.com/urbit/urbit/issues/328
// static u3j_harm _141_two__by_uni_a[] = {{".2", u3wdb_uni, c3y}, {}};
// static c3_c* _141_two__by_uni_ha[] = {0};
static u3j_harm _141_two__by_uni_a[] = {{".2", u3wdb_uni, c3y}, {}};
static c3_c* _141_two__by_uni_ha[] = {0};
static u3j_core _141_two__by_d[] =
{ { "apt", 7, _141_two__by_apt_a },
@ -1666,7 +1666,7 @@ static u3j_core _141_two__by_d[] =
{ "run", 7, _141_two__by_run_a },
{ "tap", 7, _141_two__by_tap_a, 0, _141_two__by_tap_ha },
{ "wyt", 3, _141_two__by_wyt_a },
// { "uni", 7, _141_two__by_uni_a, 0, _141_two__by_uni_ha },
{ "uni", 7, _141_two__by_uni_a, 0, _141_two__by_uni_ha },
{}
};
static c3_c* _141_two__by_ha[] = {