<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch ansi</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=ansi</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=ansi'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2016-04-22T12:13:53+00:00</updated>
<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: 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>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2016-04-04T15:22:54+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-04T15:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=253dbd612b2d2f041f4263e15a3b94df70f41e36'/>
<id>urn:sha1:253dbd612b2d2f041f4263e15a3b94df70f41e36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash_test: ignore generated files</title>
<updated>2016-03-22T22:15:24+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2016-03-22T22:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b9b7aa1910907f59f1130667fbe7b870087e97f8'/>
<id>urn:sha1:b9b7aa1910907f59f1130667fbe7b870087e97f8</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&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>ash: fix corruption of ${#var} if $var contains UTF-8 characters</title>
<updated>2016-03-22T22:19:29+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-03-18T11:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3e3bfb896e0dd8a54caad9c6264e2452566b4012'/>
<id>urn:sha1:3e3bfb896e0dd8a54caad9c6264e2452566b4012</id>
<content type='text'>
As reported in bug 8506:

   $ X=abcdÉfghÍjklmnÓpqrstÚvwcyz
   $ echo ${#X}
   abcd26

The result should be 26.

This regression was introduced by:

   &lt;d68d1fb&gt; 2015-05-18 [Ron Yorston]  ash: code shrink around varvalue

The length in characters was being used to discard the contents of
the variable instead of the length in bytes.

URL: https://bugs.busybox.net/8506
Reported-by: Martijn Dekker &lt;martijn@inlv.org&gt;
Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2016-02-22T10:00:45+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-02-22T10:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=371c20c008254a36e7157df6c13dc2e4cf87d6fd'/>
<id>urn:sha1:371c20c008254a36e7157df6c13dc2e4cf87d6fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix compiling with musl's utmp stubs</title>
<updated>2016-02-01T00:36:05+00:00</updated>
<author>
<name>Kylie McClain</name>
<email>somasissounds@gmail.com</email>
</author>
<published>2016-02-01T00:36:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=40eea690c7eabbf4d12e1e0c30c31f40125ca996'/>
<id>urn:sha1:40eea690c7eabbf4d12e1e0c30c31f40125ca996</id>
<content type='text'>
This patch fixes compiling busybox with FEATURE_UTMP and _WTMP enabled.
musl, while not really support utmp/wtmp, provides stub functions, as well
as variables such as _PATH_UTMP, so that programs using utmp or wtmp can
still compile fine.

My reasoning for this patch is that on Exherbo, I'm currently trying to get
us to be able to use the same busybox config file for both glibc and musl
systems, using utmp/wtmp on systems that support it, and using the stubs
on musl without needing two different configs.

As of latest musl git, it provides all utmp functions needed; 1.1.12 doesn't,
but I sent a patch to Rich to add the utmp{,x}name functions expected to
exist, which was merged into musl upstream.

Signed-off-by: Kylie McClain &lt;somasissounds@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: suppress a compilation warning</title>
<updated>2016-01-01T23:52:29+00:00</updated>
<author>
<name>Cristian Ionescu-Idbohrn</name>
<email>cristian.ionescu-idbohrn@axis.com</email>
</author>
<published>2016-01-01T23:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c2a2625bcbd0d883ca74afb5275e6fd9806936d2'/>
<id>urn:sha1:c2a2625bcbd0d883ca74afb5275e6fd9806936d2</id>
<content type='text'>
Reported by gcc (Debian 5.3.1-4) 5.3.1 20151219

shell/ash.c: In function 'evaltree':
shell/ash.c:8432:19: warning: logical not is only applied to the left hand side of comparison

Signed-off-by: Cristian Ionescu-Idbohrn &lt;cristian.ionescu-idbohrn@axis.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2015-11-06T16:38:39+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2015-11-06T16:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d6c9296168ad0a770967714515ffa1fca5e60145'/>
<id>urn:sha1:d6c9296168ad0a770967714515ffa1fca5e60145</id>
<content type='text'>
</content>
</entry>
</feed>
