| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
The implementation of realpath(3) is based on code by Stuart Dootson
(studoot on GitHub).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously
$ HEIGHT=$(ttysize h)
would always return a default height of 24 because stdout wasn't
connected to a console. Now that get_terminal_width_height also
checks stderr the above works.
|
| |
|
|
|
|
|
| |
Include two styles of icon from the GNOME Adwaita theme. These
are enabled by default and add 30 Kbytes to the size of the binary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow wget to support https URLs. Changes are:
- Add mingw_popen2 which uses a named pipe to allow bidirectional
communication with a child process;
- Modify ssl_client to accept a WIN32 handle instead of a file
descriptor as an argument;
- Allow tls_get_random to open /dev/urandom;
- Using the above changes implement a WIN32 version of spawn_ssl_client
in wget.
This closes GitHub issue #75.
Also, enable authentication in wget.
|
|
|
|
| |
See issue #97.
|
|
|
|
|
| |
SIGWINCH isn't available on Microsoft Windows. Make the use of
SIGWINCH configurable and disable it by default.
|
|
|
|
|
|
|
|
| |
Use the new low-level support for /dev/zero and /dev/urandom to
allow shred to work in busybox-w32.
The only change required is to close the file before unlinking it,
as Microsoft Windows won't delete an open file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that with the new toolchain safe API calls work on all
all platforms. Even the original code from commit fa147bd7e works
on Windows XP when built with the new tools.
- Remove the unsafe environment manipulation via the environ array
- Microsoft's putenv takes a copy of its argument so the string
can be freed
- Rewrite some routines and add more error checking
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patches to let xargs support parallel operations on Linux/Unix was
contributed and accepted in upstream BusyBox.
To benefit from this on Windows, we have to work quite a bit harder, was
it is pretty hard to emulate the waitpid() semantics on Windows when pid
is -1, i.e. when waiting for any child to exit.
The problem is not so much accumulating the process handles of children
we spawned (we could do that in our own spawn() implementation), but the
fact that waitpid() returns exactly one pid even when multiple children
have exited, retaining the rest of them for subsequent waitpid() calls.
And on Linux/Unix, those pids are reserved even if the processes have
exited, at least for a while, but not on Windows.
And then there is the problem that BusyBox may have spawned *other*
processes, too, not just the ones we care about in xargs -P.
A much more elegant way is to add Windows-specific code to xargs.c that
specifically handles the child processes spawned by xargs. So let's do
this.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
|
| |
|
|
|
|
|
|
|
|
| |
It may be necessary to run ps as administrator to get information
about processes belonging to other users.
The code to detect GetTickCount64 at run-time was imported from
Git for Windows.
|
|
|
|
| |
Pass-through mode never worked: it uses fork().
|
| |
|
|
|
|
|
| |
- Update default configurations.
- Changes required for rpm2cpio to compile
|
|
|
|
| |
Only the TERM signal is supported.
|
| |
|
|
|
|
|
| |
The recent change to system(3) makes watch work much better, so
enable it by default.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The hack to disable EXTRA_COMPAT in grep was incomplete and left
the -z option enabled but non-functional.
Remove the hack and change the default MinGW configurations to disable
EXTRA_COMPAT.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The noconsole option depends on APIs that aren't available in
all incarnations of Microsoft Windows. Allow it to be disabled
at build time.
Note that, by default, 'noconsole' is enabled in 32-bit builds but
disabled in 64-bit builds.
|
|
|
|
| |
Don't expect sleeping for fractions of a second to be very accurate.
|
| |
|
| |
|
|
|
|
|
| |
Update default configurations; rename ststrdup -> sstrdup; fix
status returns in evalcommand.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Allow FEATURE_INSTALLER to be configured and enable it in the
default configuration.
The behaviour is slightly different from upstream BusyBox:
symbolic links are not permitted;
if no target directory is provided the directory containing
the busybox binary is used as the target.
|
| |
|
|
|
|
| |
bbconfig isn't very useful. Removing it saves over 5KB.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|