<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/dc.tests, 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>2021-02-26T13:23:13+00:00</updated>
<entry>
<title>bc/dc: fix length(0) and length(0.000nnn) result</title>
<updated>2021-02-26T13:23:13+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-02-26T13:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ace81cd46ce53e60fe702cc1ac857989207e7ac4'/>
<id>urn:sha1:ace81cd46ce53e60fe702cc1ac857989207e7ac4</id>
<content type='text'>
function                                             old     new   delta
zxc_vm_process                                      6464    6498     +34

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: Parse error &amp; fix out of bounds read in xc_program_printString</title>
<updated>2019-09-05T08:53:21+00:00</updated>
<author>
<name>Brian Foley</name>
<email>bpfoley@google.com</email>
</author>
<published>2019-09-05T08:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=10509a70ee5c28800d23bf891b4f72603447e364'/>
<id>urn:sha1:10509a70ee5c28800d23bf891b4f72603447e364</id>
<content type='text'>
function                                             old     new   delta
xc_program_print                                     712     735     +23

Signed-off-by: Brian Foley &lt;bpfoley@google.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: Fix segfault when executing strings generated using asciify</title>
<updated>2019-09-05T08:50:13+00:00</updated>
<author>
<name>Brian Foley</name>
<email>bpfoley@google.com</email>
</author>
<published>2019-09-05T08:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b64470be177314e8473fae6c32cab51cacb89fa7'/>
<id>urn:sha1:b64470be177314e8473fae6c32cab51cacb89fa7</id>
<content type='text'>
function                                             old     new   delta
zxc_vm_process                                      6884    6891      +7

Signed-off-by: Brian Foley &lt;bpfoley@google.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: execute shouldn't pop if stack head is not a string</title>
<updated>2019-09-05T08:46:22+00:00</updated>
<author>
<name>Brian Foley</name>
<email>bpfoley@google.com</email>
</author>
<published>2019-09-05T08:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7454879a1d9e3948a9af21e31e9d59d5ae8b89f2'/>
<id>urn:sha1:7454879a1d9e3948a9af21e31e9d59d5ae8b89f2</id>
<content type='text'>
This matches the behaviour of both GNU dc (as specified in
its man page), and BSD dc (where stack_popstring() pops
only if the head is a string.)

Add a couple of tests to verify this behavior.

function                                             old     new   delta
zxc_vm_process                                      6882    6884      +2

Signed-off-by: Brian Foley &lt;bpfoley@google.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc.tests: fix two test case to also depend on DC_BIG</title>
<updated>2019-04-19T10:30:11+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2019-04-17T01:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=32c8ce4def177a98a9aef0896bdb2d8262b364ec'/>
<id>urn:sha1:32c8ce4def177a98a9aef0896bdb2d8262b364ec</id>
<content type='text'>
Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: fit returning of string</title>
<updated>2019-01-04T05:18:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-04T05:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1db367a8e65a74277360a89885ff7d377b5feb8b'/>
<id>urn:sha1:1db367a8e65a74277360a89885ff7d377b5feb8b</id>
<content type='text'>
function                                             old     new   delta
zxc_program_exec                                    4087    4098     +11

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: fix '?'</title>
<updated>2019-01-04T04:41:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-04T04:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6842c6062a201cc34a262b4c450cf8e1374e9e3a'/>
<id>urn:sha1:6842c6062a201cc34a262b4c450cf8e1374e9e3a</id>
<content type='text'>
function                                             old     new   delta
zdc_parse_expr                                       470     479      +9
zxc_vm_process                                       839     814     -25
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-25)             Total: -16 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>bc: rename config options</title>
<updated>2018-12-28T12:32:04+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-27T21:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1476760600eff7c51c78b0ba02f1b08558178289'/>
<id>urn:sha1:1476760600eff7c51c78b0ba02f1b08558178289</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: add two tests</title>
<updated>2018-12-25T19:50:41+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-25T19:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8fac1c77401478855fd0ac1a7fa64c371bd735cb'/>
<id>urn:sha1:8fac1c77401478855fd0ac1a7fa64c371bd735cb</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>dc: unbreak interactive mode - was trying to get next tokens instead of executing</title>
<updated>2018-12-22T17:10:50+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-22T17:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=badf683b0aa693de9b1a7c1634ad20665463c503'/>
<id>urn:sha1:badf683b0aa693de9b1a7c1634ad20665463c503</id>
<content type='text'>
function                                             old     new   delta
zbc_program_read                                       -     268    +268
zdc_program_printStream                                -     146    +146
zbc_program_exec                                    4046    4182    +136
zdc_program_execStr                                  472     512     +40
zdc_parse_exprs_until_eof                              -      26     +26
zbc_vm_process                                       740     765     +25
zbc_lex_next                                        2225    2240     +15
zdc_parse_expr                                       569     535     -34
zbc_program_pushArray                                147       -    -147
zdc_program_asciify                                  370       -    -370
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 4/1 up/down: 656/-551)          Total: 105 bytes

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