mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
Remove numerous printfs.
This commit is contained in:
parent
e0318e16e0
commit
09fe55d33c
1
n/m.c
1
n/m.c
@ -1372,7 +1372,6 @@ _cm_limits(void)
|
||||
ret_i = getrlimit(RLIMIT_NOFILE, &rlm);
|
||||
c3_assert(0 == ret_i);
|
||||
rlm.rlim_cur = 10240; // default OSX max, not in rlim_max irritatingly
|
||||
printf("files: %llu\n", (long long unsigned) rlm.rlim_cur);
|
||||
if ( 0 != setrlimit(RLIMIT_NOFILE, &rlm) ) {
|
||||
perror("file limit");
|
||||
// no exit, not a critical limit
|
||||
|
9
n/v.c
9
n/v.c
@ -27,13 +27,9 @@ u3v_make(c3_c* pas_c)
|
||||
{
|
||||
u3_noun sys = u3ke_cue(u3m_file(pas_c));
|
||||
|
||||
printf("cv_make: loaded pill %s, as %x\n", pas_c, u3r_mug(sys));
|
||||
|
||||
u3A->ken = u3k(u3h(sys));
|
||||
u3A->roc = u3k(u3t(sys));
|
||||
|
||||
printf("cv_make: kernel %x, core %x\n",
|
||||
u3r_mug(u3A->ken), u3r_mug(u3A->roc));
|
||||
u3z(sys);
|
||||
}
|
||||
|
||||
@ -44,10 +40,7 @@ u3v_jack(void)
|
||||
{
|
||||
u3_noun cor;
|
||||
|
||||
printf("cv_jack: activating kernel %x\n", u3r_mug(u3A->ken));
|
||||
cor = u3n_nock_on(0, u3k(u3A->ken));
|
||||
printf("cv_jack: activated\n");
|
||||
|
||||
u3z(cor);
|
||||
}
|
||||
|
||||
@ -84,7 +77,7 @@ u3v_start(u3_noun now)
|
||||
{
|
||||
c3_c* wen_c = u3r_string(u3A->wen);
|
||||
|
||||
printf("cv_start: time: %s\n", wen_c);
|
||||
printf("arvo: time: %s\n", wen_c);
|
||||
free(wen_c);
|
||||
}
|
||||
}
|
||||
|
8
v/main.c
8
v/main.c
@ -316,12 +316,12 @@ main(c3_i argc,
|
||||
u3_ve_sysopt();
|
||||
|
||||
printf("~\n");
|
||||
printf("welcome.\n");
|
||||
printf("vere: urbit home is %s\n", u3_Host.dir_c);
|
||||
printf("vere: hostname is %s\n", u3_Host.ops_u.nam_c);
|
||||
// printf("welcome.\n");
|
||||
printf("urbit: home is %s\n", u3_Host.dir_c);
|
||||
// printf("vere: hostname is %s\n", u3_Host.ops_u.nam_c);
|
||||
|
||||
if ( c3y == u3_Host.ops_u.dem && c3n == u3_Host.ops_u.bat ) {
|
||||
printf("vere: running as daemon\n");
|
||||
printf("urbit: running as daemon\n");
|
||||
}
|
||||
|
||||
// Seed prng. Don't panic -- just for fuzz testing.
|
||||
|
4
v/raft.c
4
v/raft.c
@ -173,7 +173,7 @@ _raft_promote(u3_raft* raf_u)
|
||||
c3_i sas_i;
|
||||
|
||||
if ( 1 == raf_u->pop_w ) {
|
||||
uL(fprintf(uH, "raft: -> lead\n"));
|
||||
// uL(fprintf(uH, "raft: -> lead\n"));
|
||||
raf_u->typ_e = u3_raty_lead;
|
||||
// TODO boot in multiuser mode
|
||||
u3_sist_boot();
|
||||
@ -1418,7 +1418,7 @@ _raft_foll_init(u3_raft* raf_u)
|
||||
static void
|
||||
_raft_lone_init(u3_raft* raf_u)
|
||||
{
|
||||
uL(fprintf(uH, "raft: single-instance mode\n"));
|
||||
// uL(fprintf(uH, "raft: single-instance mode\n"));
|
||||
raf_u->pop_w = 1;
|
||||
_raft_promote(raf_u);
|
||||
}
|
||||
|
2
v/reck.c
2
v/reck.c
@ -107,7 +107,7 @@ _reck_kick_term(u3_noun pox, c3_l tid_l, u3_noun fav)
|
||||
u3_noun hox = u3dc("scot", 'p', u3k(p_fav));
|
||||
c3_c* nam_c = u3r_string(hox);
|
||||
|
||||
uL(fprintf(uH, "kick: init: %s\n", nam_c));
|
||||
// uL(fprintf(uH, "kick: init: %s\n", nam_c));
|
||||
free(nam_c); u3z(pox); u3z(hox); u3z(fav); return c3y;
|
||||
} break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user