Projects
Kolab:Winterfell
erlang-js
erlang-js-1.3.0-otp-18.3-compat.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-js-1.3.0-otp-18.3-compat.patch of Package erlang-js
diff --git a/c_src/driver_comm.c b/c_src/driver_comm.c index 3876b61..a35d12a 100644 --- a/c_src/driver_comm.c +++ b/c_src/driver_comm.c @@ -55,7 +55,7 @@ char *read_string(char **data) { void *ejs_alloc(ErlDrvSizeT size) { void *p = driver_alloc(size); if (p == NULL) { - erl_exit(1, "erlang_js: Can't allocate %lu bytes of memory\n", size); + erts_exit(1, "erlang_js: Can't allocate %lu bytes of memory\n", size); } return p; } diff --git a/c_src/driver_comm.h b/c_src/driver_comm.h index 9f04d16..f5456a5 100644 --- a/c_src/driver_comm.h +++ b/c_src/driver_comm.h @@ -30,7 +30,7 @@ char *read_string(char **data); /* Wrapper around driver_alloc() that checks */ /* for OOM. */ -void erl_exit(int n, char*, ...); +void erts_exit(int n, char*, ...); void *ejs_alloc(ErlDrvSizeT size); #endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.