<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch awk_faster</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=awk_faster</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=awk_faster'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-07-09T12:10:58+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-07-09T12:10:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T12:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9c0b2f7020d7c30b21a930ef54be632e092e533b'/>
<id>urn:sha1:9c0b2f7020d7c30b21a930ef54be632e092e533b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: tidy code, no functional change</title>
<updated>2020-07-09T08:29:59+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T08:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7'/>
<id>urn:sha1:a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: fix shell options</title>
<updated>2020-07-07T16:02:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-07T16:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ed071907c1a1e7bab8c0e808a053b907b20783c'/>
<id>urn:sha1:0ed071907c1a1e7bab8c0e808a053b907b20783c</id>
<content type='text'>
The Windows-specific shell options winxp, noconsole and nocaseglob
have had the wrong indices in optlist since the merge with upstream
BusyBox in commit 517cf74f6.
</content>
</entry>
<entry>
<title>ash: improve handling of UNC paths</title>
<updated>2020-06-30T14:52:54+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-30T14:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=90b695c255eeeddb2bb90e5cacbd3253663bfa7f'/>
<id>urn:sha1:90b695c255eeeddb2bb90e5cacbd3253663bfa7f</id>
<content type='text'>
Be more strict about identifying UNC paths in unc_root_len().

In updatepwd() in ash:

- Skip duplicate leading slashes unless the directory is a UNC path.
- Rewrite detection and handling of the five possible types of path.

This improves cases like 'cd ///' and 'cd /xyz' when the current
directory is a UNC path.

See GitHub issue #192.
</content>
</entry>
<entry>
<title>ash: avoid duplicated slashes in output of type/command builtins</title>
<updated>2020-06-29T10:46:43+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-29T10:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9114e110a59a77909132af6d97bccdf5056adfa4'/>
<id>urn:sha1:9114e110a59a77909132af6d97bccdf5056adfa4</id>
<content type='text'>
Microsoft developers have a penchant for adding trailing slashes to
entries in PATH:

   C:/Windows/System32/WindowsPowerShell/v1.0/
   C:/Windows/System32/OpenSSH/

The 'type' and 'command -v' shell builtins return paths with duplicated
slashes for executables in those directories.  See GitHub issue #191.

Bonus fixes:

- handle backslashes as well as slashes in concat_path_file()
- convert backslashes to slashes in the output of 'type', 'command -v'
</content>
</entry>
<entry>
<title>nologin: make it possible to build it as single applet</title>
<updated>2020-06-24T13:05:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-24T11:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=67e1529b921416d6c3f33fb43691bc9919e3eacc'/>
<id>urn:sha1:67e1529b921416d6c3f33fb43691bc9919e3eacc</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>suppress a few compile warnings</title>
<updated>2020-06-24T07:31:30+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-24T07:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d5314e71294d228cff5d86e00d15661461f68fc9'/>
<id>urn:sha1:d5314e71294d228cff5d86e00d15661461f68fc9</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: skip NULL argv during forkshell</title>
<updated>2020-06-21T11:57:12+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-21T11:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4f4e9e0d3366ec607d8765278b9753e41bdd544f'/>
<id>urn:sha1:4f4e9e0d3366ec607d8765278b9753e41bdd544f</id>
<content type='text'>
Alter argv_size()/argv_copy() to omit argv from the forkshell
block if it's NULL.

Improve forkshell debug code to properly account for parts of
funcblock which aren't being used.
</content>
</entry>
<entry>
<title>ash: changes to ctrl-c handling</title>
<updated>2020-06-20T11:13:57+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-20T11:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=53aca1b56db730b0103f5ec2e692327237a775e2'/>
<id>urn:sha1:53aca1b56db730b0103f5ec2e692327237a775e2</id>
<content type='text'>
Make ctrl-c handling more like Unix.  Remove the hSIGINT event and the
code in waitpid_child() to catch it.  Add a call to raise_interrupt()
in ctrl_handler().

Prior to these changes interrupts in a child shell weren't properly
handled.  In release FRP-3466-g53c09d0e1 interrupting a sleep in a
child shell results in both shells competing for input:

   ~ $ sh
   ~ $ sleep 10
   ^C^C

   ~ $ ~ $ pwd
   sh: w: not found
   ~ $
   sh: pd: not found
   ~ $

With recent changes:

   ~ $ sh
   ~ $ sleep 10
   ^C
   ~ $ echo $?
   130
   ~ $ exit
   ^C
   ~ $ echo $?
   130
   ~ $

The error return from the parent shell is due to the lack of job
control.  Upstream BusyBox ash and dash both do the same when job
control is disabled.
</content>
</entry>
<entry>
<title>ash: run ash_main() directly from a FS_SHELLEXEC shell</title>
<updated>2020-06-20T11:13:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-20T11:13:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=da7c8cdf631fc0754d30d5b997ee71a085699469'/>
<id>urn:sha1:da7c8cdf631fc0754d30d5b997ee71a085699469</id>
<content type='text'>
</content>
</entry>
</feed>
