This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Forked from https://gist.github.com/jamesotron/44f8962cddef781ab830 | |
# wget https://gist.githubusercontent.com/evax/493c134b7c6711b499f0/raw/6d4aaf11b9f041cd77bc273691579d0fe7f72c9c/install_ex.sh | |
# . ~/install_ex.sh | |
# You can override your Elixir and Erlang versions from your shell when you call ./install_ex.sh. | |
ERLANG_VERSION=${ERLANG_VERSION:-18.3} | |
ELIXIR_VERSION=${ELIXIR_VERSION:-1.2.3} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 72527c6..e6799fe 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -4,7 +4,7 @@ AC_INIT([pdns], [git]) | |
dnl AC_SUBST([DIST_HOST], [TO_BE_PATCHED]) | |
dnl End patch area. | |
AC_CONFIG_SRCDIR([pdns/receiver.cc]) | |
-AM_INIT_AUTOMAKE([foreign tar-ustar -Wno-portability subdir-objects]) | |
+AM_INIT_AUTOMAKE([foreign tar-ustar -Wno-portability]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "bin/cdist", line 229, in <module> | |
commandline() | |
File "bin/cdist", line 94, in commandline | |
args.func(args) | |
File "bin/cdist", line 97, in config | |
configinstall(args, mode=cdist.config.Config) | |
File "bin/cdist", line 129, in configinstall | |
if not configinstall_onehost(host, args, mode, parallel=False): | |
File "bin/cdist", line 175, in configinstall_onehost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/c_src/erlzmq_nif.c b/c_src/erlzmq_nif.c | |
index 06ac022..0f4bfa7 100644 | |
--- a/c_src/erlzmq_nif.c | |
+++ b/c_src/erlzmq_nif.c | |
@@ -506,6 +506,10 @@ NIF(erlzmq_nif_send) | |
memcpy(zmq_msg_data(&msg), &req, sizeof(erlzmq_thread_request_t)); | |
enif_mutex_lock(socket->context->mutex); | |
+ if (socket->context->thread_socket_name == NULL) { | |
+ enif_mutex_unlock(socket->context->mutex); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/c_src/vector.h b/c_src/vector.h | |
index f7ace29..c43ea33 100644 | |
--- a/c_src/vector.h | |
+++ b/c_src/vector.h | |
@@ -40,6 +40,7 @@ | |
#ifndef VECTOR_H | |
#define VECTOR_H | |
+#include <stddef.h> | |
#ifndef size_t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js | |
beam.js> | |
# | |
# Fatal error in src/global-handles.cc, line 86 | |
# CHECK(state_ == DESTROYED) failed | |
# | |
==== Stack trace ============================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js | |
# | |
# Fatal error in src/handles-inl.h, line 49 | |
# CHECK(reinterpret_cast<Address>(*location_) != kHandleZapValue) failed | |
# | |
==== Stack trace ============================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js | |
# | |
# Fatal error in src/execution.cc, line 106 | |
# CHECK(*has_pending_exception == Top::has_pending_exception()) failed | |
# | |
==== Stack trace ============================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js | |
# | |
# Fatal error in src/handles-inl.h, line 49 | |
# CHECK(reinterpret_cast<Address>(*location_) != kHandleZapValue) failed | |
# | |
==== Stack trace ============================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/c_src/erlv8.cc b/c_src/erlv8.cc | |
index e984844..84b0144 100644 | |
--- a/c_src/erlv8.cc | |
+++ b/c_src/erlv8.cc | |
@@ -23,6 +23,7 @@ static ErlV8TickHandler tick_handlers[] = | |
{"set", SetTickHandler}, | |
{"set_proto", SetProtoTickHandler}, | |
{"set_hidden", SetHiddenTickHandler}, | |
+ {"set_accessor", SetAccessorTickHandler}, | |
{"proplist", ProplistTickHandler}, |
NewerOlder