<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/test, 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>Merge branch 'maint'</title>
<updated>2019-08-20T06:41:00+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-08-20T06:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ae97c3416bbbc7a5aa181814bb82b573cbc9da7f'/>
<id>ae97c3416bbbc7a5aa181814bb82b573cbc9da7f</id>
<content type='text'>
* maint:
  fun2ms: accept ++ in function head when called from shell
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  fun2ms: accept ++ in function head when called from shell
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322' into maint</title>
<updated>2019-08-20T06:36:19+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-08-20T06:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e2c6e9446cb3ce48f87909dd77ae68892e9126d5'/>
<id>e2c6e9446cb3ce48f87909dd77ae68892e9126d5</id>
<content type='text'>
* legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322:
  fun2ms: accept ++ in function head when called from shell
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* legoscia/stdlib/fun2ms-plusplus/OTP-15992/PR-2322:
  fun2ms: accept ++ in function head when called from shell
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2019-08-12T13:19:04+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-08-12T13:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1f6cb54c0ada901fb6dc6efba282c1d499a8e0a8'/>
<id>1f6cb54c0ada901fb6dc6efba282c1d499a8e0a8</id>
<content type='text'>
* maint:
  erts: Create heap binaries in binary:split/2-3
  erts: Create heap binaries in binary_part/2-3
  erts: Create heap binaries in split_binary/2
  erts: Create heap binaries in bs_get_binary2
  erts: Remove size check in bs_start_match
  erts: Disallow binaries whose size in bits exceeds UWORD_MAX
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  erts: Create heap binaries in binary:split/2-3
  erts: Create heap binaries in binary_part/2-3
  erts: Create heap binaries in split_binary/2
  erts: Create heap binaries in bs_get_binary2
  erts: Remove size check in bs_start_match
  erts: Disallow binaries whose size in bits exceeds UWORD_MAX
</pre>
</div>
</content>
</entry>
</feed>
