<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/test, branch maint</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<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>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 '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>erts: Create heap binaries in bs_get_binary2</title>
<updated>2019-08-09T12:29:39+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-08-08T08:06:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9f73f98ad6ddf70d30dfc0a1daf7c992dcc5061a'/>
<id>9f73f98ad6ddf70d30dfc0a1daf7c992dcc5061a</id>
<content type='text'>
ErlSubBin is a large struct that often dwarfs the region of memory
it points at, and it's common for them to refer to a ProcBin which
must be kept around as long as the SubBin lives, using up even more
heap space and keeping the referenced binary alive regardless of
how small the sub-binary is.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ErlSubBin is a large struct that often dwarfs the region of memory
it points at, and it's common for them to refer to a ProcBin which
must be kept around as long as the SubBin lives, using up even more
heap space and keeping the referenced binary alive regardless of
how small the sub-binary is.
</pre>
</div>
</content>
</entry>
<entry>
<title>fun2ms: accept ++ in function head when called from shell</title>
<updated>2019-07-12T13:38:05+00:00</updated>
<author>
<name>Magnus Henoch</name>
<email>magnus.henoch@gmail.com</email>
</author>
<published>2019-07-12T13:38:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a69d7ba56ad1f0983c6aea7538742d2a1c4e1d7a'/>
<id>a69d7ba56ad1f0983c6aea7538742d2a1c4e1d7a</id>
<content type='text'>
Code such as ets:fun2ms(fun({"foo" ++ X}) -&gt; X end) works fine in
compiled code.  Let's make it work when fun2ms is invoked from the
shell as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Code such as ets:fun2ms(fun({"foo" ++ X}) -&gt; X end) works fine in
compiled code.  Let's make it work when fun2ms is invoked from the
shell as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rickard/pcre-8.43/OTP-15889' into maint</title>
<updated>2019-07-02T17:31:11+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-07-02T17:31:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5371644cf6a4175e332ff0eb0c9a7227803e7fe2'/>
<id>5371644cf6a4175e332ff0eb0c9a7227803e7fe2</id>
<content type='text'>
* rickard/pcre-8.43/OTP-15889:
  Updated stdlib runtime dependency to erts
  Convert generated re replace and split tests from latin1 to UTF8
  Adjust generated re replacement and split tests
  Generate new re replacement and split tests using perl 5.22.1
  Update internal PCRE to version 8.43
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rickard/pcre-8.43/OTP-15889:
  Updated stdlib runtime dependency to erts
  Convert generated re replace and split tests from latin1 to UTF8
  Adjust generated re replacement and split tests
  Generate new re replacement and split tests using perl 5.22.1
  Update internal PCRE to version 8.43
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'john/erts/lists_subtract_fixes/OTP-15938/OTP-15939' into maint</title>
<updated>2019-07-01T09:42:11+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-01T09:42:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ab5090ce25c8ab4212c0ca23623cd46e09d12a2e'/>
<id>ab5090ce25c8ab4212c0ca23623cd46e09d12a2e</id>
<content type='text'>
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939:
  erts: Fix integer overflow in loader
  erts: Fix integer overflow in list subtraction
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939:
  erts: Fix integer overflow in loader
  erts: Fix integer overflow in list subtraction
</pre>
</div>
</content>
</entry>
<entry>
<title>erts: Fix integer overflow in list subtraction</title>
<updated>2019-07-01T09:23:28+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-06-26T07:26:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a055766e0ca9d2b4a5007f00b007b087e06bc7a5'/>
<id>a055766e0ca9d2b4a5007f00b007b087e06bc7a5</id>
<content type='text'>
CMP_TERM returned an `Sint`, which overflowed the `int` used in
erl_rbtree for storing the comparison, causing list subtraction to
behave strangely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMP_TERM returned an `Sint`, which overflowed the `int` used in
erl_rbtree for storing the comparison, causing list subtraction to
behave strangely.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert generated re replace and split tests from latin1 to UTF8</title>
<updated>2019-06-26T09:41:22+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-06-26T09:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cb16cb46a0272adcb7533d8614541e783e0fd161'/>
<id>cb16cb46a0272adcb7533d8614541e783e0fd161</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust generated re replacement and split tests</title>
<updated>2019-06-26T09:41:22+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2019-06-26T09:25:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2c798383d620665b80ad4c0ba708f6c02d93ae15'/>
<id>2c798383d620665b80ad4c0ba708f6c02d93ae15</id>
<content type='text'>
Adjustment needed due to incompatibility between PCRE 8.43
and perl version 5.22.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjustment needed due to incompatibility between PCRE 8.43
and perl version 5.22.1
</pre>
</div>
</content>
</entry>
</feed>
