<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib, branch master</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 'maint'</title>
<updated>2019-08-23T12:50:52+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-08-23T12:50:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4a055cbed15129dcb63384a3c24c07513cdcb88b'/>
<id>4a055cbed15129dcb63384a3c24c07513cdcb88b</id>
<content type='text'>
* maint:
  Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2353 from bjorng/bjorn/stdlib/fix-file_lib-wildcard/ERL-1029/OTP-15987</title>
<updated>2019-08-23T12:48:13+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-08-23T12:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a7c5d6c80d6879cb1c67b60632ac31c5459c26d4'/>
<id>a7c5d6c80d6879cb1c67b60632ac31c5459c26d4</id>
<content type='text'>
Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/ets-test-cuddle'</title>
<updated>2019-08-22T15:26:30+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-08-22T15:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0b059106055e33241c4d259166bf892253814fbb'/>
<id>0b059106055e33241c4d259166bf892253814fbb</id>
<content type='text'>
* sverker/ets-test-cuddle:
  stdlib: Fix ets_SUITE:tabfile_ext4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sverker/ets-test-cuddle:
  stdlib: Fix ets_SUITE:tabfile_ext4
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Fix ets_SUITE:tabfile_ext4</title>
<updated>2019-08-22T15:26:01+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2019-08-19T17:44:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f7b6235ca36a5fccd7e4c77df0d9052d3de5c554'/>
<id>f7b6235ca36a5fccd7e4c77df0d9052d3de5c554</id>
<content type='text'>
on machines with long host names.

Move forward the file location interval to corrupt.

An ETS table file corrupted in the header may still be readable
with table content unchanged and that will cause tabfile_ext4 to fail.
The header length increase with long host names and added table options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on machines with long host names.

Move forward the file location interval to corrupt.

An ETS table file corrupted in the header may still be readable
with table content unchanged and that will cause tabfile_ext4 to fail.
The header length increase with long host names and added table options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix filelib:wildcard/1,2 for patterns containing ".." and/or "@"</title>
<updated>2019-08-22T10:23:45+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-08-19T13:45:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=72f704c7b83643bec889eabe3f9fe378639bb06e'/>
<id>72f704c7b83643bec889eabe3f9fe378639bb06e</id>
<content type='text'>
`..` was broken and only worked when it was used in the beginning
of the pattern before any wildcard characters. For example:

    1&gt; filelib:wildcard("erts/..").
    ["erts/.."]

Using `..` preceded by wildcard characters would not work:

    1&gt; filelib:wildcard("*/..").
    []

`@` is not a wildcard character but is used internally in `filelib` as
an escape character and was not handled as other literal
characters. That could lead to performance degradation as it disabled
an optimization of the matching of the literal prefix of a pattern. It
would also cause the following example to fail:

    1&gt; filelib:wildcard("@/..").
    []

This commit corrects the handling `..` and also makes sure that the
use of `@` in a pattern does not degrade performance.

https://bugs.erlang.org/browse/ERL-1029
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`..` was broken and only worked when it was used in the beginning
of the pattern before any wildcard characters. For example:

    1&gt; filelib:wildcard("erts/..").
    ["erts/.."]

Using `..` preceded by wildcard characters would not work:

    1&gt; filelib:wildcard("*/..").
    []

`@` is not a wildcard character but is used internally in `filelib` as
an escape character and was not handled as other literal
characters. That could lead to performance degradation as it disabled
an optimization of the matching of the literal prefix of a pattern. It
would also cause the following example to fail:

    1&gt; filelib:wildcard("@/..").
    []

This commit corrects the handling `..` and also makes sure that the
use of `@` in a pattern does not degrade performance.

https://bugs.erlang.org/browse/ERL-1029
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hasse/remove_old_IO_requests/OTP-15695'</title>
<updated>2019-08-21T07:40:13+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-08-21T07:40:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=504d151a57bc93acb3fb7597214a8e62be9c1cfd'/>
<id>504d151a57bc93acb3fb7597214a8e62be9c1cfd</id>
<content type='text'>
* hasse/remove_old_IO_requests/OTP-15695:
  stdlib: Remove old I/O-requests from test suites
  stdlib (doc): Do not mention old requests
  snmp: Update old format I/O-request
  sasl: Use encoding when reading terms
  parsetools (doc): Update old format I/O-requests
  mnesia: Update old format I/O-request
  kernel: Update old format I/O-requests
  stdlib: Remove no longer used function
  kernel: Remove commented out code
  stdlib: Remove commented out code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hasse/remove_old_IO_requests/OTP-15695:
  stdlib: Remove old I/O-requests from test suites
  stdlib (doc): Do not mention old requests
  snmp: Update old format I/O-request
  sasl: Use encoding when reading terms
  parsetools (doc): Update old format I/O-requests
  mnesia: Update old format I/O-request
  kernel: Update old format I/O-requests
  stdlib: Remove no longer used function
  kernel: Remove commented out code
  stdlib: Remove commented out code
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Remove old I/O-requests from test suites</title>
<updated>2019-08-20T07:33:26+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-13T11:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b9aef66da02a8e27b021ad3be2101b221c760a1f'/>
<id>b9aef66da02a8e27b021ad3be2101b221c760a1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib (doc): Do not mention old requests</title>
<updated>2019-08-20T07:33:26+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-13T11:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6f7ab48afd4a843c51ecaa59d29d7991cdac90aa'/>
<id>6f7ab48afd4a843c51ecaa59d29d7991cdac90aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Remove no longer used function</title>
<updated>2019-08-20T07:33:26+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-12T08:44:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=227a93f6d1b5e856a7b880257c2e1c08f396e19f'/>
<id>227a93f6d1b5e856a7b880257c2e1c08f396e19f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Remove commented out code</title>
<updated>2019-08-20T07:33:26+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-12T08:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=26e1cb4c017cbad1a35920d5d45ecdba47863595'/>
<id>26e1cb4c017cbad1a35920d5d45ecdba47863595</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
