<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/ash_test/printenv.c, 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-07-01T18:21:37+00:00</updated>
<entry>
<title>shell: improve bash compatibility of read built-in</title>
<updated>2025-07-01T18:21:37+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-07-01T08:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=dcd8df258a402658ad1fdc018a245b06a610ca8d'/>
<id>urn:sha1:dcd8df258a402658ad1fdc018a245b06a610ca8d</id>
<content type='text'>
Make the read built-in more compatible with bash:

- Return an exit code of 142 on timeout.

- When the timeout expires before a newline is detected in the
  input bash captures the partial input.  This behaviour is new
  since bash version 4.4.  BusyBox shells had the pre-4.4 behaviour
  where the input was lost.

Update the tests to suit and fix a couple of compiler errors in
the testsuite.

function                                             old     new   delta
builtin_read                                         154     174     +20
readcmd                                              213     228     +15
shell_builtin_read                                  1364    1370      +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 41/0)               Total: 41 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>do not use `a' quoting style in comments</title>
<updated>2017-08-02T12:26:33+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-08-02T12:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=95f7953f2c46c7b9c799250aa8dc6eb10cc5c726'/>
<id>urn:sha1:95f7953f2c46c7b9c799250aa8dc6eb10cc5c726</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash_test: printenv: fix missing includes</title>
<updated>2016-03-22T22:15:14+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2016-03-22T22:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=787972f60b08c34059de65f9ee24febaa50667a2'/>
<id>urn:sha1:787972f60b08c34059de65f9ee24febaa50667a2</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>- use EXIT_{SUCCESS,FAILURE}. No object-code changes</title>
<updated>2008-05-19T09:29:47+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2008-05-19T09:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=636a1f85e89432601c59cdc3239fc867b4adf051'/>
<id>urn:sha1:636a1f85e89432601c59cdc3239fc867b4adf051</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clean up accumulated whitespace damage</title>
<updated>2007-03-07T09:35:43+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-03-07T09:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8e858e2700651a0e973169b579622cd3dcd0defd'/>
<id>urn:sha1:8e858e2700651a0e973169b579622cd3dcd0defd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>small ash testsuite, adapted from bash</title>
<updated>2007-03-05T00:27:50+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-03-05T00:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1c660b4bd2c303fcb829bc93143fc454693afab4'/>
<id>urn:sha1:1c660b4bd2c303fcb829bc93143fc454693afab4</id>
<content type='text'>
(only a small part of it, actually)
</content>
</entry>
</feed>
