<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/src, branch maint-22</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Prepare release</title>
<updated>2019-06-17T14:51:20+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-06-17T14:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=594cbfc5d80dbc1e4ca959e9a86122b3ca532e02'/>
<id>594cbfc5d80dbc1e4ca959e9a86122b3ca532e02</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 'john/kernel/fix-io-proto-user-drv/OTP-15805' into maint-22</title>
<updated>2019-06-17T14:51:16+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-06-17T14:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9a84d9034eeacf1d2dc974a762dbcec9d5cca77d'/>
<id>9a84d9034eeacf1d2dc974a762dbcec9d5cca77d</id>
<content type='text'>
* john/kernel/fix-io-proto-user-drv/OTP-15805:
  kernel: Force synchronous port_commands in user/user_drv
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/kernel/fix-io-proto-user-drv/OTP-15805:
  kernel: Force synchronous port_commands in user/user_drv
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare release</title>
<updated>2019-05-10T12:42:47+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2019-05-10T12:42:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=36719f9798f1f7c2de203091582083e8d8e5726b'/>
<id>36719f9798f1f7c2de203091582083e8d8e5726b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Force synchronous port_commands in user/user_drv</title>
<updated>2019-05-07T12:22:36+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-05-07T09:39:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4df8cf1f67a12d2c730e85ab4de64b6fd7557050'/>
<id>4df8cf1f67a12d2c730e85ab4de64b6fd7557050</id>
<content type='text'>
Banging data to a local port was always synchronous prior to
Erlang/OTP R16, and these modules relied on that behavior to report
that data had successfully been enqueued on the stdout port. This
would cause data to be silently dropped if the command didn't run
synchronously and the emulator halted before the port received the
data.

This was fairly rare in practice, but could be seen from time to
time on Windows with escripts that ended with a call to
io:format/2, such as the one used by the
escript_SUITE:create_and_extract test.

This is a minimal band-aid to make things reliable again. A more
complete fix would add explicit synchronization with the port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Banging data to a local port was always synchronous prior to
Erlang/OTP R16, and these modules relied on that behavior to report
that data had successfully been enqueued on the stdout port. This
would cause data to be silently dropped if the command didn't run
synchronously and the emulator halted before the port received the
data.

This was fairly rare in practice, but could be seen from time to
time on Windows with escripts that ended with a call to
io:format/2, such as the one used by the
escript_SUITE:create_and_extract test.

This is a minimal band-aid to make things reliable again. A more
complete fix would add explicit synchronization with the port.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806'</title>
<updated>2019-05-07T09:02:05+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-05-07T09:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bde9e42ec8c5dee5ba1333d70f87515d8f38e798'/>
<id>bde9e42ec8c5dee5ba1333d70f87515d8f38e798</id>
<content type='text'>
* lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806:
  kernel: Fix setting of non-existing file as inet_db resolv_conf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806:
  kernel: Fix setting of non-existing file as inet_db resolv_conf
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Fix setting of non-existing file as inet_db resolv_conf</title>
<updated>2019-05-06T09:50:57+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-05-06T09:05:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f92fc026fe6f34bc869a5166a2726f890986929a'/>
<id>f92fc026fe6f34bc869a5166a2726f890986929a</id>
<content type='text'>
This was broken in 7c63a98c28d477.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was broken in 7c63a98c28d477.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2219 from josevalim/jv-auto-host/OTP-15794</title>
<updated>2019-05-06T07:30:40+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-05-06T07:30:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=80ac43b4f3194fddf3f6c911cdf2d25125c56903'/>
<id>80ac43b4f3194fddf3f6c911cdf2d25125c56903</id>
<content type='text'>
Add hostname to -remsh if none is given</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add hostname to -remsh if none is given</pre>
</div>
</content>
</entry>
<entry>
<title>Add hostname to -remsh if none is given</title>
<updated>2019-04-29T15:56:44+00:00</updated>
<author>
<name>José Valim</name>
<email>jose.valim@plataformatec.com.br</email>
</author>
<published>2019-04-29T15:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6944df6e540d57f5ddf04e01d44d3aefd9c4720d'/>
<id>6944df6e540d57f5ddf04e01d44d3aefd9c4720d</id>
<content type='text'>
The -name option already computes a default
hostname if none is given. This PR adds the
same behaviour to -remsh. Now we can run:

    erl -name foo -remsh bar
    erl -sname foo -remsh bar

This simplifies deployment scripts as otherwise
they have to compute the hostname by hand or
start an Erlang VM instance only to do so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The -name option already computes a default
hostname if none is given. This PR adds the
same behaviour to -remsh. Now we can run:

    erl -name foo -remsh bar
    erl -sname foo -remsh bar

This simplifies deployment scripts as otherwise
they have to compute the hostname by hand or
start an Erlang VM instance only to do so.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Multiple -sname or -name would be ignored</title>
<updated>2019-04-23T11:49:21+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-04-23T10:14:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4ffb28fa775daf7e157031654bcf7712cce6d0f1'/>
<id>4ffb28fa775daf7e157031654bcf7712cce6d0f1</id>
<content type='text'>
If 'erl -sname 1 -sname 2' is run the node is not started
in distribution mode at all. This fix makes the last sname
be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If 'erl -sname 1 -sname 2' is run the node is not started
in distribution mode at all. This fix makes the last sname
be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bjorn/erts/measure-process_main/OTP-15620'</title>
<updated>2019-04-12T08:25:39+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-04-12T08:25:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2277e30d3dd207a81037d43a7328bbc91552bb76'/>
<id>2277e30d3dd207a81037d43a7328bbc91552bb76</id>
<content type='text'>
* bjorn/erts/measure-process_main/OTP-15620:
  Add benchmark
  Add erts_debug:interpreter_size/0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bjorn/erts/measure-process_main/OTP-15620:
  Add benchmark
  Add erts_debug:interpreter_size/0
</pre>
</div>
</content>
</entry>
</feed>
