<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/ash_test/ash-misc, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2025-08-18T12:52:46+00:00</updated>
<entry>
<title>hush: fix several syntax corner cases with function definitions</title>
<updated>2025-08-18T12:52:46+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-08-18T12:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b4cedd4c9ae0ea31986973b7b3e6956937aafa32'/>
<id>urn:sha1:b4cedd4c9ae0ea31986973b7b3e6956937aafa32</id>
<content type='text'>
function                                             old     new   delta
parse_stream                                        3063    3075     +12
done_word                                            777     784      +7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 19/0)               Total: 19 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: undo incorrect change which allows a'b'=c to be assignment</title>
<updated>2025-08-14T14:19:58+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-08-14T14:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6cc338010515ec4caef802a70f9f374cf98b8294'/>
<id>urn:sha1:6cc338010515ec4caef802a70f9f374cf98b8294</id>
<content type='text'>
While at it, remove now-unused WORD_IS_KEYWORD

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571</title>
<updated>2023-05-25T12:22:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-05-25T12:22:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6824298ab4d3da40763af4d2d466a72745b8b593'/>
<id>urn:sha1:6824298ab4d3da40763af4d2d466a72745b8b593</id>
<content type='text'>
function                                             old     new   delta
run_list                                            1012    1024     +12

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