<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/erl_interface, branch dgud-string-depr</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Revert "Update release notes"</title>
<updated>2018-05-02T07:19:05+00:00</updated>
<author>
<name>Henrik</name>
<email>henrik@erlang.org</email>
</author>
<published>2018-05-02T07:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=561e871d680a081d531ff205b8331eacca1d7a3c'/>
<id>561e871d680a081d531ff205b8331eacca1d7a3c</id>
<content type='text'>
This reverts commit 202bb737e3deabfebee683266f4b7c42781eb521.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 202bb737e3deabfebee683266f4b7c42781eb521.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Update version numbers"</title>
<updated>2018-05-02T07:18:58+00:00</updated>
<author>
<name>Henrik</name>
<email>henrik@erlang.org</email>
</author>
<published>2018-05-02T07:18:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ff819e79274c4638c9c9cf77ba4f45f24a0a2ab0'/>
<id>ff819e79274c4638c9c9cf77ba4f45f24a0a2ab0</id>
<content type='text'>
This reverts commit 345f7f527a4c26ef49cef0d81e2c8b71bf01ebc3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 345f7f527a4c26ef49cef0d81e2c8b71bf01ebc3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update release notes</title>
<updated>2018-04-30T08:06:42+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2018-04-30T08:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=202bb737e3deabfebee683266f4b7c42781eb521'/>
<id>202bb737e3deabfebee683266f4b7c42781eb521</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update version numbers</title>
<updated>2018-04-30T08:03:17+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2018-04-30T08:03:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=345f7f527a4c26ef49cef0d81e2c8b71bf01ebc3'/>
<id>345f7f527a4c26ef49cef0d81e2c8b71bf01ebc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mikpe/erl_interface-bad-memset/PT-1796/OTP-15033</title>
<updated>2018-04-24T08:25:41+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>garazdawi@gmail.com</email>
</author>
<published>2018-04-24T08:25:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e9134d6ac5ee7efa597fe5887ce030cb25a19227'/>
<id>e9134d6ac5ee7efa597fe5887ce030cb25a19227</id>
<content type='text'>
erl_interface: fix bad memset</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
erl_interface: fix bad memset</pre>
</div>
</content>
</entry>
<entry>
<title>erl_interface: fix bad memset</title>
<updated>2018-04-21T12:08:14+00:00</updated>
<author>
<name>Mikael Pettersson</name>
<email>mikpelinux@gmail.com</email>
</author>
<published>2018-04-21T12:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bd31798262cd20354e64cca8654b0781b33d7ede'/>
<id>bd31798262cd20354e64cca8654b0781b33d7ede</id>
<content type='text'>
Compiling OTP-20.3.4 with GCC-7 generates the following warning:

 CC     /tmp/otp_src_20.3.4/lib/erl_interface/obj.st/x86_64-unknown-linux-gnu/erl_marshal.o
legacy/erl_marshal.c: In function 'erl_init_marshal':
legacy/erl_marshal.c:110:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(cmp_array, 0, CMP_ARRAY_SIZE);
     ^~~~~~

CMP_ARRAY_SIZE (256) is the number of elements in that array, but the
elements are not char but enum, which is 4 bytes on e.g. x86-64.
This results in 3/4 of the array not being correctly initialized.

Idiomatic C is to pass sizeof cmp_array to memset(), so that's what I did.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compiling OTP-20.3.4 with GCC-7 generates the following warning:

 CC     /tmp/otp_src_20.3.4/lib/erl_interface/obj.st/x86_64-unknown-linux-gnu/erl_marshal.o
legacy/erl_marshal.c: In function 'erl_init_marshal':
legacy/erl_marshal.c:110:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(cmp_array, 0, CMP_ARRAY_SIZE);
     ^~~~~~

CMP_ARRAY_SIZE (256) is the number of elements in that array, but the
elements are not char but enum, which is 4 bytes on e.g. x86-64.
This results in 3/4 of the array not being correctly initialized.

Idiomatic C is to pass sizeof cmp_array to memset(), so that's what I did.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2018-04-20T09:53:39+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2018-04-20T09:53:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=38be1e447d1a64aa528ecae2d5e957d21e069019'/>
<id>38be1e447d1a64aa528ecae2d5e957d21e069019</id>
<content type='text'>
* maint:
  Updated OTP version
  Prepare release
  inets: Fix broken httpc options handling
  ssh: Fix server crashes for exit-normal signals
  ssh: Fix ssh_sftpd:handle_op not returning State

Conflicts:
	OTP_VERSION
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  Updated OTP version
  Prepare release
  inets: Fix broken httpc options handling
  ssh: Fix server crashes for exit-normal signals
  ssh: Fix ssh_sftpd:handle_op not returning State

Conflicts:
	OTP_VERSION
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/master/optimize-atom-enc-dec/ERIERL-150'</title>
<updated>2018-04-20T09:36:21+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-04-20T09:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=21754c8d402855af5081dad0aff465a8f0f7eda7'/>
<id>21754c8d402855af5081dad0aff465a8f0f7eda7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/erl_interface/ei_connect-erange-fix/OTP-15022'</title>
<updated>2018-04-20T09:35:57+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-04-20T09:35:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fd8ce7e0592b4d873773dba405de9cfd4e4ec184'/>
<id>fd8ce7e0592b4d873773dba405de9cfd4e4ec184</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>erts,erl_interface: Refactor common config of ARCH</title>
<updated>2018-04-19T15:41:18+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-04-19T15:36:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ef0284670c2f108e1ef8980e422b48ec04c3728c'/>
<id>ef0284670c2f108e1ef8980e422b48ec04c3728c</id>
<content type='text'>
into aclocal.m4 as LM_HARDWARE_ARCH
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
into aclocal.m4 as LM_HARDWARE_ARCH
</pre>
</div>
</content>
</entry>
</feed>
