<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/hush_test, branch path_search</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=path_search</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=path_search'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-07-04T12:38:25+00:00</updated>
<entry>
<title>ash: disable check for "good" function name, bash does not check this</title>
<updated>2023-07-04T12:38:25+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-04T12:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=07a95cfcabb0706a22599b4440b495b6cfa8123e'/>
<id>urn:sha1:07a95cfcabb0706a22599b4440b495b6cfa8123e</id>
<content type='text'>
function                                             old     new   delta
.rodata                                           105304  105261     -43
parse_command                                       1696    1633     -63
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-106)           Total: -106 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: bash-compatible handling of too large numbers</title>
<updated>2023-06-25T15:42:05+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-25T15:42:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c1c267fd36b0fcac8c8871232eecc1e360173990'/>
<id>urn:sha1:c1c267fd36b0fcac8c8871232eecc1e360173990</id>
<content type='text'>
function                                             old     new   delta
parse_with_base                                        -     170    +170
evaluate_string                                     1477    1309    -168
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 170/-168)            Total: 2 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: typo fix in tests</title>
<updated>2023-06-18T16:49:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-18T16:49:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b61fd8ec5a2e3b728c05a72b603fb4255b1022da'/>
<id>urn:sha1:b61fd8ec5a2e3b728c05a72b603fb4255b1022da</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: fix ?: to not evaluate not-taken branches</title>
<updated>2023-06-16T17:51:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-16T17:43:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e1279858394a6079be6816cbedaa3f10e74057cc'/>
<id>urn:sha1:e1279858394a6079be6816cbedaa3f10e74057cc</id>
<content type='text'>
This fixes ash-arith-arith-ternary1/2.tests

function                                             old     new   delta
evaluate_string                                     1271    1432    +161
arith_apply                                          968    1000     +32
arith                                                 22      36     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 207/0)             Total: 207 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: fix order of expansion of variables to numbers</title>
<updated>2023-06-15T11:56:12+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-15T11:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ea6dcbe2839fb21049baadd0d5da903ae11661ec'/>
<id>urn:sha1:ea6dcbe2839fb21049baadd0d5da903ae11661ec</id>
<content type='text'>
This fixes arith-assign-in-varexp1.tests

function                                             old     new   delta
evaluate_string                                     1132    1258    +126
arith_lookup_val                                     143       -    -143
arith_apply                                         1132     977    -155
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 126/-298)         Total: -172 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: remove special code to handle a?b?c:d:e, it works without it now</title>
<updated>2023-06-15T09:22:13+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-15T09:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=61a4959251667751e424e600c6cb75de39d6b1c3'/>
<id>urn:sha1:61a4959251667751e424e600c6cb75de39d6b1c3</id>
<content type='text'>
The "hack" to virtually parenthesize ? EXPR : made this unnecessary.
The expression is effectively a?(b?(c):d):e and thus b?c:d is evaluated
before continuing with the second :

function                                             old     new   delta
evaluate_string                                     1148    1132     -16

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: fix parsing of ?: and explain why it's parsed that way</title>
<updated>2023-06-15T08:14:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-15T08:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5f56a0388271d2de6cf31af1041bdcb3d11029fc'/>
<id>urn:sha1:5f56a0388271d2de6cf31af1041bdcb3d11029fc</id>
<content type='text'>
This fixes arith-precedence1.tests.

This breaks arith-ternary2.tests again (we now evaluate variables
on not-taken branches). We need a better logic here anyway:
not only bare variables should not evaluate when not-taken:
	1 ? eval_me : do_not_eval
but any (arbitrarily complex) expressions shouldn't
evaluate as well!
	1 ? var_is_set=1 : ((var_is_not_set=2,var2*=4))

function                                             old     new   delta
evaluate_string                                     1097    1148     +51

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: sync ash/hush test scripts</title>
<updated>2023-06-14T13:19:02+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-14T13:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ff01bb699d80cb7d24a93e812cc91c54be5cc20'/>
<id>urn:sha1:2ff01bb699d80cb7d24a93e812cc91c54be5cc20</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell/math: fix the order of variable resolution in binops</title>
<updated>2023-06-14T09:33:59+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-14T09:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3df885abe340c5feaed212536139ee24d60e40a2'/>
<id>urn:sha1:3df885abe340c5feaed212536139ee24d60e40a2</id>
<content type='text'>
function                                             old     new   delta
arith_apply                                         1134    1143      +9

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix expansion of space in "a=${a:+$a }c" construct</title>
<updated>2023-06-12T14:39:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-12T14:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bab8828b0dad1d51d6b34e38249f0641ca64b1e9'/>
<id>urn:sha1:bab8828b0dad1d51d6b34e38249f0641ca64b1e9</id>
<content type='text'>
function                                             old     new   delta
encode_then_append_var_plusminus                     554     552      -2

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