| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mingw-w64 project has updated its implementation of dirname(3).
In some circumstances the new version doesn't preserve the type of
the user-supplied top-level directory separator. As a result of
this the dirname-handles-root test case failed.
Import the new implementation and tweak it to preserve the type of
the separator.
This only affects mingw-w64 versions 12 and above. Currently only
the aarch64 build using llvm-mingw is affected.
|
|
|
|
|
|
|
|
|
|
|
| |
Add an implementation of strverscmp from musl so that the 'sort -V'
option works.
Add '-V' to the trivial usage message.
Costs 248-256 bytes.
(GitHub issue #370)
|
|
|
|
|
|
|
|
| |
If upstream BusyBox had a 'make' applet a native build with it
enabled should match the corresponding build from the busybox-w32
source.
Make it so.
|
|
|
|
|
|
|
|
|
| |
Commit f261d2d27 (make: make + sh configuration) added 'pdpmake'
as an alias for 'make'.
It should have been possible to include 'pdpmake' in a build without
also including 'make'. Adjust the build configuration so this works
as intended.
|
|
|
|
|
|
|
|
|
| |
This is an experimental implementation of make for busybox-w32,
based on my public domain POSIX make:
https://frippery.org/make/
(GitHub issue #44)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create mingw_strptime() to return timezone offset as a separate
argument (since Microsoft's struct tm doesn't have the required
member).
Import timegm() from musl.
Update parse_datestr() to use mingw_strptime().
Enable FEATURE_TIMEZONE in the default configuration.
GitHub issue #230.
|
|
|
|
|
|
|
| |
Add a routine to detect the names of character classes. Use it
in fnmatch(3) and regcomp(3), replacing local code in the former.
Saves 216 bytes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a cut down version of the dirent implementation from git.
The git developers said:
The mingw-runtime implemenation of opendir, readdir and closedir
sets errno to 0 on success, something that POSIX explicitly
forbids.
This also avoids having to link against libssp.a (commit 13eb34205)
and reduces the size of the binary by 2KB.
|
| |
|
|
|
|
|
|
| |
Allow either ISAAC or the shell's built-in pseudo-random number
generator to be used for /dev/urandom. The latter is smaller so
it's the default.
|
| |
|
| |
|
|
|
|
|
| |
mingw-w64 has its own mempcpy. And even if it didn't upstream
BusyBox has one too. So we definitely don't need our own.
|
|
|
|
| |
Import inet_pton from gnulib and enable IPv6 support by default.
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two changes from gnulib:
Treat a broken pipe as readable. If nc doesn't try to read from
the pipe it'll never find out it's broken.
Only allow console key press events to indicate that stdin is
readable. read_key leaves a key release event in the buffer
at the end of a shell command. This caused nc to block, thinking
that the console had input available.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support sequences are mostly color ones.
This was extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository. Changes from original version:
> diff --git a/home/pclouds/w/git/compat/winansi.c b/tmp/winansi2.c
> index 44dc293..e2e7010 100644
> --- a/home/pclouds/w/git/compat/winansi.c
> +++ b/tmp/winansi2.c
> @@ -2,8 +2,9 @@
> * Copyright 2008 Peter Harris <git@peter.is-a-geek.org>
> */
>
> +#include "libbb.h"
> #include <windows.h>
> -#include "../git-compat-util.h"
> +#undef PACKED
>
> /*
> Functions to be wrapped:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These were extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository. Changes from the original version:
> diff --git a/tmp/regex.c b/win32/regex.c
> index 87b33e4..2cca169 100644
> --- a/tmp/regex.c
> +++ b/win32/regex.c
> @@ -24,7 +24,9 @@
> #pragma alloca
> #endif
>
> +#ifndef _GNU_SOURCE
> #define _GNU_SOURCE
> +#endif
>
> /* We need this for `regex.h', and perhaps for the Emacs include files. */
> #include <sys/types.h>
|
|
|
|
| |
clearenv() is not supported yet.
|
| |
|
|
|
|
|
|
|
|
|
| |
Text mode is default on Windows, which is just bad.
This file also hosts many functions that were extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository, under directory compat. Some functions are
modified/added by me, but usually credits go to Git developers.
|
|
This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository.
|