mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-29 01:44:08 +03:00
segv fixed
This commit is contained in:
parent
77566708fb
commit
9201c7cb6d
7
Makefile
7
Makefile
@ -270,9 +270,6 @@ BASE_OFILES=\
|
||||
CRE2_OFILES=\
|
||||
outside/cre2/src/src/cre2.o
|
||||
|
||||
KAFKA_CLIENT_OFILES=\
|
||||
outside/cre2/src/src/cre2.o
|
||||
|
||||
OUT_OFILES=\
|
||||
outside/jhttp/http_parser.o
|
||||
|
||||
@ -335,9 +332,9 @@ $(CRE2_OFILES): outside/cre2/src/src/cre2.cpp outside/cre2/src/src/cre2.h $(LIBR
|
||||
|
||||
$(V_OFILES) f/loom.o f/trac.o: include/v/vere.h
|
||||
|
||||
$(BIN)/vere: $(LIBCRE) $(VERE_OFILES) $(LIBUV) $(LIBRE2) $(LIBED25519) $(BPT_O) $(LIBANACHRONISM) $(LIBKAFKACLIENT)
|
||||
$(BIN)/vere: $(LIBCRE) $(VERE_OFILES) $(LIBUV) $(LIBRE2) $(LIBED25519) $(BPT_O) $(LIBANACHRONISM)
|
||||
mkdir -p $(BIN)
|
||||
$(CLD) $(CLDOSFLAGS) -o $(BIN)/vere $(VERE_OFILES) $(LIBUV) $(LIBKAFKACLIENT) $(LIBCRE) $(LIBRE2) $(LIBED25519) $(BPT_O) $(LIBANACHRONISM) $(LIBS)
|
||||
$(CLD) $(CLDOSFLAGS) -o $(BIN)/vere $(VERE_OFILES) $(LIBUV) $(LIBCRE) $(LIBRE2) $(LIBED25519) $(BPT_O) $(LIBANACHRONISM) $(LIBS)
|
||||
|
||||
tags:
|
||||
ctags -R -f .tags --exclude=root
|
||||
|
12
v/unix.c
12
v/unix.c
@ -210,14 +210,14 @@ _unix_file_watch(u2_ufil* fil_u,
|
||||
c3_c* pax_c,
|
||||
mpz_t mod_mp)
|
||||
{
|
||||
uv_fs_event_t eventhandle_u;
|
||||
c3_w ret_w = uv_fs_event_init(u2L, &eventhandle_u );
|
||||
uv_fs_event_t * eventhandle_u = (uv_fs_event_t * ) malloc(sizeof(uv_fs_event_t)) ;
|
||||
c3_w ret_w = uv_fs_event_init(u2L, eventhandle_u );
|
||||
if (0 != ret_w){
|
||||
uL(fprintf(uH, "event init: %s\n", strerror(ret_w)));
|
||||
c3_assert(0);
|
||||
}
|
||||
|
||||
ret_w = uv_fs_event_start(& eventhandle_u,
|
||||
ret_w = uv_fs_event_start(eventhandle_u,
|
||||
_unix_fs_event_cb,
|
||||
pax_c,
|
||||
0);
|
||||
@ -283,14 +283,14 @@ _unix_file_form(u2_udir* dir_u,
|
||||
static void
|
||||
_unix_dir_watch(u2_udir* dir_u, u2_udir* par_u, c3_c* pax_c)
|
||||
{
|
||||
uv_fs_event_t eventhandle_u;
|
||||
c3_w ret_w = uv_fs_event_init(u2L, &eventhandle_u );
|
||||
uv_fs_event_t * eventhandle_u = (uv_fs_event_t * ) malloc(sizeof(uv_fs_event_t)) ;
|
||||
c3_w ret_w = uv_fs_event_init(u2L, eventhandle_u );
|
||||
if (0 != ret_w){
|
||||
uL(fprintf(uH, "event init: %s\n", uv_strerror(ret_w)));
|
||||
c3_assert(0);
|
||||
}
|
||||
|
||||
ret_w = uv_fs_event_start(& eventhandle_u,
|
||||
ret_w = uv_fs_event_start(eventhandle_u,
|
||||
_unix_fs_event_cb,
|
||||
pax_c,
|
||||
0);
|
||||
|
Loading…
Reference in New Issue
Block a user