Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | win32: fix quoting of arguments with trailing backslashes | Ron Yorston | 2016-03-16 | 1 | -15/+48 | |
| | | | | | | | | Correctly handle the case where an argument needs to be quoted and has a backslash as its last character. The issue was detected by the test "sed a cmd ended by double backslash" in the BusyBox test suite. | |||||
* | win32: silence some compiler warnings | Ron Yorston | 2015-07-15 | 1 | -1/+1 | |
| | ||||||
* | mingw: fixes to implementation of waitpid(2) | Ron Yorston | 2015-05-29 | 1 | -2/+2 | |
| | | | | | The third argument should be int. We only support positive pid values. | |||||
* | mingw: tidy up implementation of kill(2) | Ron Yorston | 2015-05-29 | 1 | -9/+13 | |
| | ||||||
* | mingw: define a macro for spawn | Ron Yorston | 2015-05-27 | 1 | -1/+1 | |
| | ||||||
* | win32: fix waitpid implementation | Ron Yorston | 2015-05-27 | 1 | -2/+11 | |
| | | | | _cwait requires a process handle, not a pid. | |||||
* | Merge branch 'busybox' into merge | Ron Yorston | 2014-05-06 | 1 | -3/+3 | |
| | | | | | | | Conflicts: debianutils/which.c editors/vi.c libbb/executable.c | |||||
* | procps_scan: ensure command name is null terminated | Ron Yorston | 2014-03-23 | 1 | -1/+1 | |
| | ||||||
* | Fix some compiler warnings | Ron Yorston | 2014-03-13 | 1 | -1/+1 | |
| | ||||||
* | 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. | |||||
* | mingw32: allow whitespace after '#!' in shell scripts | Ron Yorston | 2012-05-03 | 1 | -1/+9 | |
| | ||||||
* | Some fixes to #! parsing | Ron Yorston | 2012-04-21 | 1 | -7/+8 | |
| | ||||||
* | kill: no special treatment for MINGW32 | Ron Yorston | 2012-04-18 | 1 | -1/+1 | |
| | ||||||
* | Detect and execute shell scripts based on presence of '#!' | Ron Yorston | 2012-04-17 | 1 | -20/+54 | |
| | ||||||
* | quote_arg(): correctly escape backslash characters | Daniel Klessing | 2011-11-21 | 1 | -2/+4 | |
| | ||||||
* | win32: process.c: implement kill(), SIGTERM only | Nguyễn Thái Ngọc Duy | 2010-09-15 | 1 | -0/+17 | |
| | ||||||
* | win32: reimplement procps_scan() | Nguyễn Thái Ngọc Duy | 2010-09-15 | 1 | -0/+33 | |
| | | | | | | | On Linux, procps_scan() relies on /proc, which is obviously unavailable on Windows. This implementation currently supports procps_status_t.{pid,comm} only. | |||||
* | win32: support .com executables | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+3 | |
| | ||||||
* | win32: add next_path_sep() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+20 | |
| | ||||||
* | win32: add shell script and internal applet execution to spawn* and exec* | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+254 | |
| | | | | | | Most of this was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository. | |||||
* | win32: add waitpid() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+10 | |