mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
u3: stop using u3P.dir_c outside of events.c
This commit is contained in:
parent
4620212260
commit
bceb9cde4a
@ -1867,6 +1867,8 @@ u3m_boot(c3_c* dir_c, size_t len_i)
|
||||
{
|
||||
c3_o nuu_o;
|
||||
|
||||
u3C.dir_c = dir_c;
|
||||
|
||||
/* Activate the loom.
|
||||
*/
|
||||
u3m_init(len_i);
|
||||
|
@ -200,7 +200,7 @@ _serf_grab(u3_noun sac)
|
||||
c3_c* wen_c = u3r_string(wen);
|
||||
|
||||
c3_c nam_c[2048];
|
||||
snprintf(nam_c, 2048, "%s/.urb/put/mass", u3P.dir_c);
|
||||
snprintf(nam_c, 2048, "%s/.urb/put/mass", u3C.dir_c);
|
||||
|
||||
struct stat st;
|
||||
if ( -1 == stat(nam_c, &st) ) {
|
||||
@ -839,7 +839,7 @@ _serf_writ_live_exit(u3_serf* sef_u, c3_w cod_w)
|
||||
c3_c* wen_c = u3r_string(wen);
|
||||
|
||||
c3_c nam_c[2048];
|
||||
snprintf(nam_c, 2048, "%s/.urb/put/profile", u3P.dir_c);
|
||||
snprintf(nam_c, 2048, "%s/.urb/put/profile", u3C.dir_c);
|
||||
|
||||
struct stat st;
|
||||
if ( -1 == stat(nam_c, &st) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user