Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changes to allow building with MinGW-w64 | Ron Yorston | 2015-01-05 | 1 | -0/+5 |
| | |||||
* | Revert "Use putenv to implement unsetenv/clearenv" | Ron Yorston | 2014-12-18 | 1 | -46/+11 |
| | | | | This reverts commit fa147bd7ecb086f4fb9a4afea16b946693a822ce. | ||||
* | date: add support for %s format | Ron Yorston | 2014-12-02 | 1 | -3/+15 |
| | |||||
* | Move definition of bb_got_signal to mingw.c | Ron Yorston | 2014-11-29 | 1 | -0/+2 |
| | | | | | On POSIX platforms bb_got_signal is defined in libbb/signals.c; for MinGW put the definition in win32/mingw.c. This is better than the | ||||
* | Use putenv to implement unsetenv/clearenv | Ron Yorston | 2014-11-23 | 1 | -11/+46 |
| | | | | | | | | | | noexec applets failed on ReactOS 0.3.17. This was because the environment was being manipulated directly using the environ pointer. Implementing unsetenv and clearenv using putenv fixes the problem. WIN32 putenv doesn't allow environment variables to have empty values. This was the case before and it's still the case after this change. Shell variables are fine. | ||||
* | mingw.c: ignore EACCES from mkdir if directory exists | Ron Yorston | 2014-10-09 | 1 | -1/+14 |
| | | | | | | | | | | | Microsoft Windows has a strange issue with access permissions such that mkdir will sometimes return EACESS for an existing directory. This is mentioned here: http://www.apijunkie.com/APIJunkie/blog/post/2009/12/22/_mkdir-C-runtime-library-function-might-return-unexpected-error-values.aspx This was causing mkdir -p to fail on a particular machine. Ignoring the EACCES error if the directory exists fixes the problem. | ||||
* | mingw.c: add missing break in fcntl implementation | Ron Yorston | 2014-10-09 | 1 | -0/+1 |
| | | | | | | This may address: https://github.com/rmyorston/busybox-w32/issues/25 | ||||
* | win32: attempt to get filesystem type for mntent | Ron Yorston | 2014-10-06 | 1 | -1/+8 |
| | |||||
* | stat: give directories write and execute permissions | Ron Yorston | 2014-08-16 | 1 | -1/+1 |
| | | | | | | Microsoft Windows ignores the read-only attribute on directories and has no equivalent to the Unix execute permission on directories. Treat all directories as writable and searchable. | ||||
* | Tidy up mingw_popen | Ron Yorston | 2014-05-15 | 1 | -59/+47 |
| | | | | This also fixes piping output to a command in awk. | ||||
* | MinGW: rename execable -> executable | Ron Yorston | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'busybox' into merge | Ron Yorston | 2014-05-06 | 2 | -5/+5 |
| | | | | | | | Conflicts: debianutils/which.c editors/vi.c libbb/executable.c | ||||
* | Move handling of Windows globbing out of upstream code | Ron Yorston | 2014-04-21 | 1 | -0/+5 |
| | |||||
* | Implement escape sequence for cursor down | Ron Yorston | 2014-04-09 | 1 | -21/+12 |
| | |||||
* | Implement ANSI escape sequences for cursor up/forward | Ron Yorston | 2014-04-07 | 1 | -0/+30 |
| | | | | | These escape sequences are required for proper handling of line editing when the input exceeds the console width. | ||||
* | Only change codepage of input character if top bit is set | Ron Yorston | 2014-03-24 | 1 | -2/+4 |
| | | | | | | It seems that passing control characters through OemToCharBuff is not a good idea: some of them end up in the top half of the codepage. | ||||
* | procps_scan: ensure command name is null terminated | Ron Yorston | 2014-03-23 | 1 | -1/+1 |
| | |||||
* | Add empty sys/syscall.h | Ron Yorston | 2014-03-20 | 1 | -0/+0 |
| | |||||
* | Implement vprintf replacement | Ron Yorston | 2014-03-20 | 1 | -1/+2 |
| | |||||
* | Implement getc replacement | Ron Yorston | 2014-03-20 | 1 | -0/+24 |
| | |||||
* | Implement read replacement to handle OEM codepages | Ron Yorston | 2014-03-20 | 1 | -0/+26 |
| | |||||
* | Fixes to write replacement | Ron Yorston | 2014-03-20 | 1 | -2/+2 |
| | |||||
* | Implement write replacement to handle OEM codepages | Ron Yorston | 2014-03-20 | 1 | -1/+75 |
| | |||||
* | Implement puts replacement to handle OEM codepages | Ron Yorston | 2014-03-19 | 1 | -4/+24 |
| | |||||
* | Use OEM codepage for console I/O | Ron Yorston | 2014-03-19 | 2 | -4/+83 |
| | | | | | | | | | | Windows console applications use different codepages for console I/O and the rest of the API: http://msdn.microsoft.com/en-us/goglobal/bb688114.aspx#E2F Attempt to workaround this by converting characters when they're read from and written to the console. Not all possible paths are handled. | ||||
* | Drop CONFIG_WIN32_NET setting | Ron Yorston | 2014-03-17 | 2 | -11/+1 |
| | |||||
* | Fix some compiler warnings | Ron Yorston | 2014-03-13 | 5 | -13/+15 |
| | |||||
* | Allow utimes to change times on directories | Ron Yorston | 2014-03-13 | 1 | -8/+21 |
| | |||||
* | Remove unused mingw_utime; update utimes to handle read-only files | Ron Yorston | 2014-03-12 | 1 | -41/+20 |
| | |||||
* | Import mempcpy from gnulib | Ron Yorston | 2014-03-11 | 2 | -0/+27 |
| | |||||
* | mingw: dummy implementation of times/sysconf | Ron Yorston | 2014-01-30 | 1 | -0/+19 |
| | |||||
* | win32: use emulated localtime_r in strptime | Ron Yorston | 2014-01-21 | 1 | -3/+1 |
| | |||||
* | date: improve emulation of %e format | Ron Yorston | 2014-01-21 | 1 | -15/+20 |
| | |||||
* | win32: use strptime from gnulib | Ron Yorston | 2014-01-20 | 3 | -5/+649 |
| | |||||
* | date: add dummy stime | Ron Yorston | 2014-01-19 | 1 | -0/+6 |
| | |||||
* | date: emulate %e format | Ron Yorston | 2014-01-19 | 1 | -0/+31 |
| | |||||
* | Implement POSIX-compliant mktemp for WIN32 | Ron Yorston | 2014-01-07 | 1 | -0/+14 |
| | |||||
* | Revise mingw_stat to minimise changes from upstream BusyBox | Ron Yorston | 2014-01-07 | 1 | -8/+34 |
| | |||||
* | Make dummy resource.h | Ron Yorston | 2014-01-06 | 1 | -0/+0 |
| | |||||
* | Extend WIN32 statfs to include type, fsid and namelen | Ron Yorston | 2014-01-06 | 3 | -20/+57 |
| | |||||
* | Make dummy paths.h | Ron Yorston | 2014-01-05 | 1 | -0/+0 |
| | |||||
* | Move mingw32 poll.h from sys | Ron Yorston | 2014-01-02 | 2 | -1/+1 |
| | |||||
* | df: limited implementation for WIN32 | Ron Yorston | 2013-04-03 | 5 | -0/+147 |
| | |||||
* | winansi: skip DECTCEM sequence to avoid ugliness in vi | Ron Yorston | 2012-10-10 | 1 | -0/+7 |
| | |||||
* | Revised quoting of command line arguments for WIN32 | Ron Yorston | 2012-10-05 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | * We only need to quote an argument if it contains whitespace. * There's no point in quoting ? or * because Windows still expands them. Anyhow, if the command line comes from a BusyBox shell it will usually have handled the globbing, so we should turn off Windows globbing for any wildcard that has made it through the shell without expansion. This means that BusyBox commands run from cmd.exe won't do wildcard expansion, though. * Backslashes only need to be doubled if they occur immediately before double quotes. * Double quotes need to be escaped with a backslash. | ||||
* | mingw32: fix off-by-one errors in spawn routines | Ron Yorston | 2012-05-10 | 1 | -2/+2 |
| | | | | | | | | | | | There are two changes here. The first, in mingw_spawn_1, removes a post-increment of argv which should have no effect. The second, in mingw_spawn, should fix a reported problem with xargs: https://github.com/pclouds/busybox-w32/issues/19 Basically, 'find . -type f | xargs md5sum' was failing to process the first file. | ||||
* | Use win32_execable_file() in test, which and execable.c | Ron Yorston | 2012-05-09 | 1 | -0/+32 |
| | |||||
* | mingw32: make access(2) check file format for executables | Ron Yorston | 2012-05-09 | 1 | -1/+69 |
| | |||||
* | mingw32: make system return wait status, not exit code | Ron Yorston | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | mingw32: allow whitespace after '#!' in shell scripts | Ron Yorston | 2012-05-03 | 1 | -1/+9 |
| |