Changeset: b122b265f4de for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b122b265f4de Modified Files: sql/backends/monet5/UDF/capi/capi.c Branch: jitudf Log Message:
Fix compilation issues. diffs (37 lines): diff --git a/sql/backends/monet5/UDF/capi/capi.c b/sql/backends/monet5/UDF/capi/capi.c --- a/sql/backends/monet5/UDF/capi/capi.c +++ b/sql/backends/monet5/UDF/capi/capi.c @@ -40,7 +40,6 @@ static char *mprotect_region(void *addr, static char *clear_mprotect(void *addr, size_t len); static allocated_region *allocated_regions[THREADS]; -static mprotected_region **actual_mprotected_regions[THREADS]; static jmp_buf jump_buffer[THREADS]; typedef char *(*jitted_function)(void **inputs, void **outputs, @@ -111,8 +110,6 @@ static char *mprotect_region(void *addr, mprotected_region **regions) { mprotected_region *region; - int pagesize; - void *page_begin; if (len == 0) return NULL; @@ -410,7 +407,6 @@ static str CUDFeval(Client cntxt, MalBlk (void)cntxt; - actual_mprotected_regions[tid] = ®ions; allocated_regions[tid] = NULL; // we need to be able to catch segfaults and bus errors @@ -1244,8 +1240,6 @@ static str CUDFeval(Client cntxt, MalBlk regions = next; } - actual_mprotected_regions[tid] = NULL; - // clear the signal handlers if (sigaction(SIGSEGV, &oldsa, NULL) == -1 || sigaction(SIGBUS, &oldsb, NULL) == -1) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list