<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/ash_test/ash-misc, branch tab_completion</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=tab_completion</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=tab_completion'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-09-07T16:16:45+00:00</updated>
<entry>
<title>ash: LINENO starts from 0 in -c SCRIPT mode</title>
<updated>2021-09-07T16:16:45+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-07T16:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=64aa86b720641cb50be9636e6c20d4dbbea6fed0'/>
<id>urn:sha1:64aa86b720641cb50be9636e6c20d4dbbea6fed0</id>
<content type='text'>
The var_LINENO3.tests fails for hush: it does start from 0, but does not increment.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix set -n to act immediately, not just after run_list()</title>
<updated>2021-09-07T00:25:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-07T00:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e'/>
<id>urn:sha1:e53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: eval: Do not cache value of eflag in evaltree</title>
<updated>2021-09-07T00:01:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-06T23:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f415e21a7dce1d4f4b760fddfaba85c551681e11'/>
<id>urn:sha1:f415e21a7dce1d4f4b760fddfaba85c551681e11</id>
<content type='text'>
Upsteam commit:

    Date: Mon, 17 May 2021 15:19:23 +0800
    eval: Do not cache value of eflag in evaltree

    Patrick Brünn &lt;P.Bruenn@beckhoff.com&gt; wrote:
    &gt; Since we are migrating to Debian bullseye, we discovered a new behavior
    &gt; with our scripts, which look like this:
    &gt;&gt;cleanup() {
    &gt;&gt;        set +e
    &gt;&gt;        rmdir ""
    &gt;&gt;}
    &gt;&gt;set -eu
    &gt;&gt;trap 'cleanup' EXIT INT TERM
    &gt;&gt;echo 'Hello world!'
    &gt;
    &gt; With old dash v0.5.10.2 this script would return 0 as we expected it.
    &gt; But since commit 62cf6955f8abe875752d7163f6f3adbc7e49ebae it returns
    &gt; the last exit code of our cleanup function.
    ...
    Thanks for the report.  This is actually a fairly old bug with
    set -e that's just been exposed by the exit status change.  What's
    really happening is that cleanup itself is triggering a set -e
    exit incorrectly because evaltree cached the value of eflag prior
    to the function call.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: eval: Check nflag in evaltree instead of cmdloop</title>
<updated>2021-09-06T23:52:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-09-06T23:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41beb53787ec798a27f336c4758cb5ebd8f0c75a'/>
<id>urn:sha1:41beb53787ec798a27f336c4758cb5ebd8f0c75a</id>
<content type='text'>
Upstream commit:

    Date: Thu, 4 Jun 2020 21:53:55 +1000
    eval: Check nflag in evaltree instead of cmdloop

    This patch moves the nflag check from cmdloop into evaltree.  This
    is so that nflag will be in force even if we enter the shell via a
    path other than cmdloop, e.g., through sh -c.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix handling of \^C and "^C"</title>
<updated>2021-06-15T14:46:30+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-06-15T14:05:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1b7a9b68d0e9aa19147d7fda16eb9a6b54156985'/>
<id>urn:sha1:1b7a9b68d0e9aa19147d7fda16eb9a6b54156985</id>
<content type='text'>
function                                             old     new   delta
parse_stream                                        2238    2252     +14
encode_string                                        243     256     +13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 27/0)               Total: 27 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>typo fix</title>
<updated>2020-12-25T18:08:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-25T18:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cad20ced8603f2d4c1ff13fbf01cdccc9cb1b7aa'/>
<id>urn:sha1:cad20ced8603f2d4c1ff13fbf01cdccc9cb1b7aa</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix this case: echo "SCRIPT" | hush</title>
<updated>2020-12-25T18:01:49+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-25T18:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1237d627e9fd996cc3d96ba72629371739fef776'/>
<id>urn:sha1:1237d627e9fd996cc3d96ba72629371739fef776</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: add testsuite for "wait $pid" waiting for other tasks</title>
<updated>2020-09-29T20:36:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-09-29T20:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d4dd48f2948b006f4ccb7cc2b603fb3d00f90685'/>
<id>urn:sha1:d4dd48f2948b006f4ccb7cc2b603fb3d00f90685</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shells: fix exitcode_trapN tests to avoid races</title>
<updated>2020-02-26T08:05:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-26T08:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9aa751b08ab03d6396f86c3df77937a19687981b'/>
<id>urn:sha1:9aa751b08ab03d6396f86c3df77937a19687981b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: make "exit" in trap use pre-trap exitcode - fix for nested trap</title>
<updated>2020-02-21T01:55:53+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-21T01:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ced804e3118d138781c3e4baa6bf1589b9f2dfd'/>
<id>urn:sha1:3ced804e3118d138781c3e4baa6bf1589b9f2dfd</id>
<content type='text'>
function                                             old     new   delta
check_and_run_traps                                  276     278      +2

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
