<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32, 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-25T11:48:13+00:00</updated>
<entry>
<title>win32: code shrink kill(2)</title>
<updated>2020-07-25T11:48:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-25T11:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cfa888eb571d92d4de02b406f0dad15e4fa26d19'/>
<id>urn:sha1:cfa888eb571d92d4de02b406f0dad15e4fa26d19</id>
<content type='text'>
- Drop exit_code argument from kill_SIGTERM_by_handle()
- Pass signal number rather than exit code to other functions
- Merge kill_SIGKILL() and kill_SIGTEST()

Saves 112 bytes.
</content>
</entry>
<entry>
<title>win32: update link to Microsoft document on command-line arguments</title>
<updated>2020-07-21T07:15:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-21T07:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2974f8f44cdb029f040cc2a975592daf965817af'/>
<id>urn:sha1:2974f8f44cdb029f040cc2a975592daf965817af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>win32: import strndup from gnulib</title>
<updated>2020-07-09T13:01:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T13:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=251c93fdeca77a7bed0075bcd74d55ad741f7bbb'/>
<id>urn:sha1:251c93fdeca77a7bed0075bcd74d55ad741f7bbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>win32: return raw file attributes in struct mingw_stat</title>
<updated>2020-07-09T07:48:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T07:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ea3041f90d719e1f14c6149759a56af78dbae101'/>
<id>urn:sha1:ea3041f90d719e1f14c6149759a56af78dbae101</id>
<content type='text'>
Until now the emulated stat(2) system calls have only returned a
synthesised Unix-style mode value.  Also return the raw Windows
file attributes.
</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>win32: enable globbing by default</title>
<updated>2020-06-14T09:17:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-14T09:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f41697493de1a25d0f56930d81cf9560172ce7b7'/>
<id>urn:sha1:f41697493de1a25d0f56930d81cf9560172ce7b7</id>
<content type='text'>
Change how busybox.exe expands wildcards on the command line.

When globbing is enabled at compile time provide an implementation
of _setargv(), which is run early during startup of C programs.  This:

- enables globbing by setting _dowildcard to -1
- checks for the presence of the environment BB_GLOBBING
- if it exists and is set to 0 disables globbing
- if it doesn't exist sets BB_GLOBBING=0 but continues to apply
  Windows' globbing in the current process

The consequences of this are:

- When busybox.exe is initially run from a Command Prompt Windows'
  globbing is applied;
- Windows' globbing is turned off for future child processes, thus
  allowing the shell re-execute busybox.exe without it interfering
  with wildcards;
- this behaviour can be overridden by setting BB_GLOBBING explicitly.

Globbing can still be disabled at compile time if required.  In that
case BB_GLOBBING has no effect.

With these changes globbing can be enabled by default and BusyBox
will do the right thing in most circumstances.

(See GitHub issues #172 and #189.)
</content>
</entry>
<entry>
<title>win32: minor improvements to process spawning</title>
<updated>2020-06-12T15:35:24+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-12T15:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b1a5034ca852efe2c24212db77d7b0b2660a687b'/>
<id>urn:sha1:b1a5034ca852efe2c24212db77d7b0b2660a687b</id>
<content type='text'>
The function mingw_spawn_forkshell() was introduced to handle
spawning a forkshell process.  Since we know that:

- the binary being executed doesn't meet any of the special cases
  handled by spawnveq()
- the arguments don't require quoting

we can call spawnve() directly instead of spawnveq().

Also, use xzalloc() to allocate new_argv so we don't need to set
the final NULL pointer explicitly.
</content>
</entry>
<entry>
<title>winansi: suppress console flags redefinition warning</title>
<updated>2020-06-07T07:12:21+00:00</updated>
<author>
<name>Biswa96</name>
<email>nathbappai@gmail.com</email>
</author>
<published>2020-06-07T06:32:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0656b8730855833567bf305b930442f50cbd44b4'/>
<id>urn:sha1:0656b8730855833567bf305b930442f50cbd44b4</id>
<content type='text'>
Modern versions of MinGW-w64 define more console modes.
</content>
</entry>
<entry>
<title>time: detect when spawn fails</title>
<updated>2020-06-04T06:45:20+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-04T06:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=13c2b7ec49820e368f626acbe0793d075c6da576'/>
<id>urn:sha1:13c2b7ec49820e368f626acbe0793d075c6da576</id>
<content type='text'>
In the 64-bit build the time applet reported garbage when it was
unable to run the program to be timed.

The error return from mingw_spawn_pid() was incorrect.
</content>
</entry>
<entry>
<title>win32: fix networking problems</title>
<updated>2020-06-03T14:50:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-06-03T14:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=214caad089b620f2b210c0948b1526d64932a256'/>
<id>urn:sha1:214caad089b620f2b210c0948b1526d64932a256</id>
<content type='text'>
The subprocess that handles incoming connections for httpd didn't
work.  It has an accepted connection on stdin and calls getpeername()
to obtain its details, but getpeername() didn't initialise networking.

ssl_client only seems to deal with file descriptors.  Expose
init_winsock() again and call it from ssl_client.
</content>
</entry>
</feed>
