<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/src, branch OTP-17.1</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'bjorn/kernel/remove-file_info-vestiges/OTP-11982' into maint</title>
<updated>2014-06-17T08:40:23+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-06-17T08:40:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2ad1bf818447c8a7ff380e93f43a7a6105a77d6f'/>
<id>2ad1bf818447c8a7ff380e93f43a7a6105a77d6f</id>
<content type='text'>
* bjorn/kernel/remove-file_info-vestiges/OTP-11982:
  Remove documentation and stub for non-exist file:file_info/1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bjorn/kernel/remove-file_info-vestiges/OTP-11982:
  Remove documentation and stub for non-exist file:file_info/1
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove documentation and stub for non-exist file:file_info/1</title>
<updated>2014-06-13T10:31:08+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-06-13T10:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=708430b92ff48faa5e0c821dfca520968551a71f'/>
<id>708430b92ff48faa5e0c821dfca520968551a71f</id>
<content type='text'>
file:file_info/1 was removed a long time ago, but its
documentation was not removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
file:file_info/1 was removed a long time ago, but its
documentation was not removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow unsticking pre-loaded modules</title>
<updated>2014-06-12T10:06:09+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-06-11T13:48:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9eccead7d89673648318815716b73f6d50ec068b'/>
<id>9eccead7d89673648318815716b73f6d50ec068b</id>
<content type='text'>
Commit ed06dd12ea74018b902a2c4c7924313d23cedb75 made pre-loaded
modules (such as erlang) sticky, and also made it impossible to
unstick them to prevent them from ever be reloaded.

It turns out that there are tools that may want to instrument
the erlang module (such as concuerror), so making it
impossible to unstick modules is harsh. Therefore, revert the
part of the commit that prevented unsticking the pre-loaded
modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit ed06dd12ea74018b902a2c4c7924313d23cedb75 made pre-loaded
modules (such as erlang) sticky, and also made it impossible to
unstick them to prevent them from ever be reloaded.

It turns out that there are tools that may want to instrument
the erlang module (such as concuerror), so making it
impossible to unstick modules is harsh. Therefore, revert the
part of the commit that prevented unsticking the pre-loaded
modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make pre-loaded modules permanently sticky</title>
<updated>2014-06-04T14:43:17+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-05-09T10:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ed06dd12ea74018b902a2c4c7924313d23cedb75'/>
<id>ed06dd12ea74018b902a2c4c7924313d23cedb75</id>
<content type='text'>
Modules in the kernel, stdlib, and compiler applications are by
default "sticky", meaning that the code server will refuse to
re-load them.

The pre-loaded modules (those that are part of the run-time system
itself, such as 'erlang') are, however, not sticky. They used to be
sticky a long time ago when the pre-loaded modules were part of
the kernel application. Now they are part of the erts application.

Since re-loading a pre-loaded module can be catastrophic (especially
re-loading the 'erlang' module), the pre-loaded modules must be
sticky. Furthermore, it should not be allowed to unstick them.

The sticky_dir/1 test case in code_SUITE is never actually run and
is broken. Rewrite it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modules in the kernel, stdlib, and compiler applications are by
default "sticky", meaning that the code server will refuse to
re-load them.

The pre-loaded modules (those that are part of the run-time system
itself, such as 'erlang') are, however, not sticky. They used to be
sticky a long time ago when the pre-loaded modules were part of
the kernel application. Now they are part of the erts application.

Since re-loading a pre-loaded module can be catastrophic (especially
re-loading the 'erlang' module), the pre-loaded modules must be
sticky. Furthermore, it should not be allowed to unstick them.

The sticky_dir/1 test case in code_SUITE is never actually run and
is broken. Rewrite it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach code:del_path/1 to ignore superfluous slashes</title>
<updated>2014-05-26T13:54:12+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-05-26T13:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d8fa3de932d97db3a93520ac30f60045e8a9cef4'/>
<id>d8fa3de932d97db3a93520ac30f60045e8a9cef4</id>
<content type='text'>
The following sequence will NOT leave the code path unchanged:

  code:add_path("/some/app/"),
  .
  .
  .
  code:del_path("/some/app/")

The reason is that code:add_path/1 will normalize the path name
(removing the trailing slash), while code:del_path/1 does not
normalize the path before searching for it in the code path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following sequence will NOT leave the code path unchanged:

  code:add_path("/some/app/"),
  .
  .
  .
  code:del_path("/some/app/")

The reason is that code:add_path/1 will normalize the path name
(removing the trailing slash), while code:del_path/1 does not
normalize the path before searching for it in the code path.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Fix erts_debug:size/1 to handle Map sizes</title>
<updated>2014-04-30T13:38:02+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2014-04-30T13:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ec4111dbef676eba1f9ea8f3d7089e064c14684f'/>
<id>ec4111dbef676eba1f9ea8f3d7089e064c14684f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Store expanded config in application_controller:change_application_data</title>
<updated>2014-04-11T15:29:33+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2014-04-11T15:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ef6a9b9b7f7a7c829f524d3f51448d3501c36652'/>
<id>ef6a9b9b7f7a7c829f524d3f51448d3501c36652</id>
<content type='text'>
If the Config given to application_controller:change_application_data
included other config files, it was only expanded for already existing
(loaded) applications. If an upgrade added a new application which had
config data in an included config file, the new application did not
get correct config data.

This is now changed so config data will be expanded for all
applications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the Config given to application_controller:change_application_data
included other config files, it was only expanded for already existing
(loaded) applications. If an upgrade added a new application which had
config data in an included config file, the new application did not
get correct config data.

This is now changed so config data will be expanded for all
applications.
</pre>
</div>
</content>
</entry>
<entry>
<title>Export type application:start_type()</title>
<updated>2014-03-30T08:19:59+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2014-03-26T20:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=650e38a0ab73170d3fce3d66f3b1fd548cddfc4b'/>
<id>650e38a0ab73170d3fce3d66f3b1fd548cddfc4b</id>
<content type='text'>
Also use this type in the start/2 callback spec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also use this type in the start/2 callback spec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/ose/master-17.0/OTP-11334'</title>
<updated>2014-03-27T08:59:57+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2014-03-27T08:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ed483c484f1752151e73ed0c060b61312e59a397'/>
<id>ed483c484f1752151e73ed0c060b61312e59a397</id>
<content type='text'>
* lukas/ose/master-17.0/OTP-11334:
  ose: Fix erts assert failed printouts
  ose: fix for packet_bytes in fd/spawn driver.
  ose: Prepare slave for running on OSE
  ose: Fix bug when hunting for signal proxy
  ose: Implement tcp inet driver for OSE
  ose: Add ifdefs for HAVE_UDP
  ose: Yielding has to be done differently for background processes.
  ose: Print faults in aio sys driver calls
  ose: Prinout errno when to_erl read fails
  ose: erlang display goes to ramlog printf
  ose: Initiate stdin/stdout/stderr
  ose: Break lmconf into one per load module
  ose: Reset busy port when pdq empty
  ose: Restore the owner of the signal
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/ose/master-17.0/OTP-11334:
  ose: Fix erts assert failed printouts
  ose: fix for packet_bytes in fd/spawn driver.
  ose: Prepare slave for running on OSE
  ose: Fix bug when hunting for signal proxy
  ose: Implement tcp inet driver for OSE
  ose: Add ifdefs for HAVE_UDP
  ose: Yielding has to be done differently for background processes.
  ose: Print faults in aio sys driver calls
  ose: Prinout errno when to_erl read fails
  ose: erlang display goes to ramlog printf
  ose: Initiate stdin/stdout/stderr
  ose: Break lmconf into one per load module
  ose: Reset busy port when pdq empty
  ose: Restore the owner of the signal
</pre>
</div>
</content>
</entry>
<entry>
<title>ose: Prepare slave for running on OSE</title>
<updated>2014-03-26T14:18:59+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2014-03-23T21:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8af4baec6e25febcc4457c85bd9079b672990c9c'/>
<id>8af4baec6e25febcc4457c85bd9079b672990c9c</id>
<content type='text'>
This change relies on the assumption that all arguments before the last --
to the parent beam should be left as they are.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change relies on the assumption that all arguments before the last --
to the parent beam should be left as they are.
</pre>
</div>
</content>
</entry>
</feed>
