<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/erl_interface/src, branch OTP-17.0.1</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Raspberry PI / Android a minimal cross-compile configuration</title>
<updated>2014-03-21T12:23:03+00:00</updated>
<author>
<name>Dmitry Kolesnikov</name>
<email>dmitry.kolesnikov</email>
</author>
<published>2014-02-10T22:27:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f43a1dc55d42de3097f75ca65baead9a2ff05c78'/>
<id>f43a1dc55d42de3097f75ca65baead9a2ff05c78</id>
<content type='text'>
Enable a cross compile Erlang/OTP platform to Android or Raspberry PI
using Android NDK. Port emulator and core application to support target
HW platform. Exclude any add-on services required for OTP platform deployment
into target hardware due to device fragmentation and jail-break requirements.

 * fix erts/emulator/beam/sys.h
   Disable redefinition of __noreturn macro

 * port erts/emulator/sys/unix/erl_child_setup.c
   Use techniques proposed by https://code.google.com/p/erlang4android to
   access system properties

 * fix erts/emulator/sys/unix/erl_unix_sys_ddll.c
   The static linking of emulator cannot find dlerror(), dlopen() symbols

 * port erts/emulator/sys/unix/sys.c
   make path to shell configurable at build time

 * port erts/etc/common/Makefile.in
   disable librt for *-linux-androideabi

 * port erts/lib_src/pthread/ethread.c
   Use techniques proposed by https://code.google.com/p/erlang4android to
   disable emulator crash if kernel threads are on. Replace unreliable
   pthread_sigmask() by sigprocmask()

 * port lib/erl_interface/src/connect/ei_connect.c
   Disable call to undefined gethostid()

 * port lib/erl_interface/src/connect/ei_resolve.c
   Use gethostbyname_r() on Android platform
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable a cross compile Erlang/OTP platform to Android or Raspberry PI
using Android NDK. Port emulator and core application to support target
HW platform. Exclude any add-on services required for OTP platform deployment
into target hardware due to device fragmentation and jail-break requirements.

 * fix erts/emulator/beam/sys.h
   Disable redefinition of __noreturn macro

 * port erts/emulator/sys/unix/erl_child_setup.c
   Use techniques proposed by https://code.google.com/p/erlang4android to
   access system properties

 * fix erts/emulator/sys/unix/erl_unix_sys_ddll.c
   The static linking of emulator cannot find dlerror(), dlopen() symbols

 * port erts/emulator/sys/unix/sys.c
   make path to shell configurable at build time

 * port erts/etc/common/Makefile.in
   disable librt for *-linux-androideabi

 * port erts/lib_src/pthread/ethread.c
   Use techniques proposed by https://code.google.com/p/erlang4android to
   disable emulator crash if kernel threads are on. Replace unreliable
   pthread_sigmask() by sigprocmask()

 * port lib/erl_interface/src/connect/ei_connect.c
   Disable call to undefined gethostid()

 * port lib/erl_interface/src/connect/ei_resolve.c
   Use gethostbyname_r() on Android platform
</pre>
</div>
</content>
</entry>
<entry>
<title>erts: Add distribution capability flag for maps DFLAG_MAP_TAG</title>
<updated>2014-03-14T14:08:23+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2014-03-13T14:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a996e168bfebe599cfe393cd132a87984d905d84'/>
<id>a996e168bfebe599cfe393cd132a87984d905d84</id>
<content type='text'>
This is just a preparation to allow detection of older nodes
that do not understand maps (R16 and older).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is just a preparation to allow detection of older nodes
that do not understand maps (R16 and older).
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Add map support in ei_skip_term</title>
<updated>2014-03-10T19:21:08+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2014-03-10T19:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e5f5346c5c6d7cd7f5c68b523970c542bccd9aff'/>
<id>e5f5346c5c6d7cd7f5c68b523970c542bccd9aff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: Add ei encode/decode for maps</title>
<updated>2014-03-06T19:10:19+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2014-03-06T14:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6941af88ad016141f568279f065cb181074f1f9f'/>
<id>6941af88ad016141f568279f065cb181074f1f9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(memcheck) Uninitialized structure in gen_challenge</title>
<updated>2014-01-20T15:43:58+00:00</updated>
<author>
<name>Olivier Girondel</name>
<email>olivier@biniou.info</email>
</author>
<published>2014-01-20T15:43:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4e4d1e13d6aeb925c04611dd30626319e64f0784'/>
<id>4e4d1e13d6aeb925c04611dd30626319e64f0784</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence two warnings about tests being always true</title>
<updated>2013-12-02T14:20:50+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-10-15T08:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=09152f810b04715785cb0437f9bc0ce42bb0f85f'/>
<id>09152f810b04715785cb0437f9bc0ce42bb0f85f</id>
<content type='text'>
encode/encode_ulonglong.c:55:25: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
    if ((p &lt; 256) &amp;&amp; (p &gt;= 0)) {
                      ~ ^  ~

legacy/erl_marshal.c:293:24: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
        if ((ul &lt; 256) &amp;&amp; (ul &gt;= 0)) {
                           ~~ ^  ~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
encode/encode_ulonglong.c:55:25: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
    if ((p &lt; 256) &amp;&amp; (p &gt;= 0)) {
                      ~ ^  ~

legacy/erl_marshal.c:293:24: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtautological-compare]
        if ((ul &lt; 256) &amp;&amp; (ul &gt;= 0)) {
                           ~~ ^  ~
</pre>
</div>
</content>
</entry>
<entry>
<title>Conditionally compile my_gethostbyname_r and my_gethostbyaddr_r</title>
<updated>2013-12-02T14:20:50+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-10-15T08:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8e970802761c593e2ed556722276ea036c4ad031'/>
<id>8e970802761c593e2ed556722276ea036c4ad031</id>
<content type='text'>
These are not needed when not on VXWORKS or without _REENTRANT.

connect/ei_resolve.c:302:24: warning: unused function 'my_gethostbyname_r' [-Wunused-function]
static struct hostent *my_gethostbyname_r(const char *name,
                       ^
connect/ei_resolve.c:360:24: warning: unused function 'my_gethostbyaddr_r' [-Wunused-function]
static struct hostent *my_gethostbyaddr_r(const char *addr,
                       ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are not needed when not on VXWORKS or without _REENTRANT.

connect/ei_resolve.c:302:24: warning: unused function 'my_gethostbyname_r' [-Wunused-function]
static struct hostent *my_gethostbyname_r(const char *name,
                       ^
connect/ei_resolve.c:360:24: warning: unused function 'my_gethostbyaddr_r' [-Wunused-function]
static struct hostent *my_gethostbyaddr_r(const char *addr,
                       ^
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence a mismatching type pointer warning in ei_resolve</title>
<updated>2013-12-02T14:20:50+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-10-15T08:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=012e6ee060c5b2c3933fb3ca8058ab63bac30962'/>
<id>012e6ee060c5b2c3933fb3ca8058ab63bac30962</id>
<content type='text'>
Why we are assigning a pointer to pointer to char to a pointer to char
baffles me. The warning is:

connect/ei_resolve.c:229:11: warning: incompatible pointer types assigning to 'char *' from 'char **'; dereference
      with * [-Wincompatible-pointer-types]
    *pptr = src_aliases;
          ^ ~~~~~~~~~~~
            *
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Why we are assigning a pointer to pointer to char to a pointer to char
baffles me. The warning is:

connect/ei_resolve.c:229:11: warning: incompatible pointer types assigning to 'char *' from 'char **'; dereference
      with * [-Wincompatible-pointer-types]
    *pptr = src_aliases;
          ^ ~~~~~~~~~~~
            *
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove ^L characters hidden randomly in the code. Not those used in text files as delimiters.</title>
<updated>2013-09-12T13:09:35+00:00</updated>
<author>
<name>Pierre Fenoll</name>
<email>pierrefenoll@gmail.com</email>
</author>
<published>2013-09-10T14:48:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=21095e6830f37676dd29c33a590851ba2c76499b'/>
<id>21095e6830f37676dd29c33a590851ba2c76499b</id>
<content type='text'>
While working on a tool that processes Erlang code and testing it against this repo,
I found out about those little sneaky 0xff. I thought it may be of help to other
people build such tools to remove non-conforming-to-standard characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While working on a tool that processes Erlang code and testing it against this repo,
I found out about those little sneaky 0xff. I thought it may be of help to other
people build such tools to remove non-conforming-to-standard characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>ei ic: install headers and libs into usr</title>
<updated>2013-08-29T09:46:07+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2013-08-29T09:46:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=19a955f41f1ef06c0b863372e79e292b26c3dba5'/>
<id>19a955f41f1ef06c0b863372e79e292b26c3dba5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
