<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch stty</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=stty</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=stty'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2016-05-19T12:06:32+00:00</updated>
<entry>
<title>ash: enable wait builtin command</title>
<updated>2016-05-19T12:06:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-19T12:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1f3a582db3ca7cd7f33d5ab6f2f6c46d68de689d'/>
<id>urn:sha1:1f3a582db3ca7cd7f33d5ab6f2f6c46d68de689d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: use a macro to substitute waitpid_child for waitpid</title>
<updated>2016-05-18T13:17:37+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-18T13:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ee8fdaa48da144585aacdf2a34a82f4cbc5dab02'/>
<id>urn:sha1:ee8fdaa48da144585aacdf2a34a82f4cbc5dab02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: fix use of pid/handle in waitpid_child</title>
<updated>2016-05-18T10:06:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-18T10:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c7c05c8e5723ed833ed0e73d24d7f7c45169c6e9'/>
<id>urn:sha1:c7c05c8e5723ed833ed0e73d24d7f7c45169c6e9</id>
<content type='text'>
Previously spawn was returning a process handle which was treated as a
pid in certain circumstances.  This resulted in the following failing:

   find . -type f | sed xargs -n 1 sed -n '1 p'

It should output the first line of each file but stopped after the
first.
</content>
</entry>
<entry>
<title>win32: adjustments to spawn functions</title>
<updated>2016-05-18T07:43:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-17T07:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4988f3c4cc3cb9e8b1ccb06e84768c177cb13385'/>
<id>urn:sha1:4988f3c4cc3cb9e8b1ccb06e84768c177cb13385</id>
<content type='text'>
Make mingw_spawn_applet and mingw_spawn_1 static.

The return value from spawnve is an exit code in synchronous mode
and a process handle in asynchronous mode.  Pass these upwards
without interpretation.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2016-05-16T08:33:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-05-16T08:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=35d2f5bccb0f3dde600702ebcdb5424d4d50be4a'/>
<id>urn:sha1:35d2f5bccb0f3dde600702ebcdb5424d4d50be4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>*: slap on a few ALIGN1/2s where appropriate</title>
<updated>2016-04-22T16:09:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-04-22T16:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3e134ebf6afb5552b3619f98f6a2ffa01a07eebb'/>
<id>urn:sha1:3e134ebf6afb5552b3619f98f6a2ffa01a07eebb</id>
<content type='text'>
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"

   text	   data	    bss	    dec	    hex	filename
 829901	   4086	   1904	 835891	  cc133	busybox_before
 829665	   4086	   1904	 835655	  cc047	busybox

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: adjustment to 'busybox' command in standalone shell mode</title>
<updated>2016-04-22T12:13:53+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-22T10:48:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a93d86689d85015b5bf465ab0ef810449bb55d41'/>
<id>urn:sha1:a93d86689d85015b5bf465ab0ef810449bb55d41</id>
<content type='text'>
A previous change allowed the command 'busybox' (which isn't an
applet) to be invoked by a direct call to the executable, avoiding
a PATH lookup.

For some reason I also checked that the name of the executable was
'busybox.exe'.  This seems unnecessary and prevents the trick from
working when the binary is called 'sh.exe', so don't do it any more.
</content>
</entry>
<entry>
<title>ash: bash-compatible $'...' shouldn't expand in double quotes</title>
<updated>2016-04-15T20:16:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-03T21:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=84ba50c32f7dbfccddd5c5ca34d48d97c3f72193'/>
<id>urn:sha1:84ba50c32f7dbfccddd5c5ca34d48d97c3f72193</id>
<content type='text'>
Bash doesn't expand its $'...' construct in double quotes:

   $ echo "$'a\tb'"
   $'a\tb'

Change BusyBox ash to do the same.  This also fixes a problem with
here documents where BusyBox ash gave an incorrect result for:

   $ cat &lt;&lt;EOF
   &gt; '$'
   &gt; EOF
   '$'

Reported-by: Timo Teras &lt;timo.teras@iki.fi&gt;
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>Rewrite iteration through applet names to save a few bytes</title>
<updated>2016-04-15T20:13:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-08T10:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2b91958dff0b7bae83cf2c3f2db55bd248fe0956'/>
<id>urn:sha1:2b91958dff0b7bae83cf2c3f2db55bd248fe0956</id>
<content type='text'>
function                                             old     new   delta
run_applet_and_exit                                  758     755      -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-3)               Total: -3 bytes

In standalone shell mode the saving increases to 17 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>ash: improve handling of invalid environment variable names</title>
<updated>2016-04-05T14:27:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-05T13:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=57f63917f08a8f6b042f8e223c6a6746ea2b6d01'/>
<id>urn:sha1:57f63917f08a8f6b042f8e223c6a6746ea2b6d01</id>
<content type='text'>
The code to replace invalid characters in environment variable names was
being invoked unconditionally because the value of 'end' was altered
in the loop to replace backslashes.  Avoid this by using a separate
loop variable.
</content>
</entry>
</feed>
