aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | win32: ash: forkshell(): return early, MinGW port will have another way to ↵Nguyễn Thái Ngọc Duy2010-09-101-0/+3
| | | | | | | | | | | | "fork"
| * | win32: ash: waitcmd(): return early, not supportedNguyễn Thái Ngọc Duy2010-09-101-0/+3
| | |
| * | win32: ash: setsignal(): return early, signalling is not supportedNguyễn Thái Ngọc Duy2010-09-101-0/+2
| | |
* | | win32: which: support .com executablesNguyễn Thái Ngọc Duy2010-09-141-0/+10
| | |
* | | win32: test: support .com executablesNguyễn Thái Ngọc Duy2010-09-141-6/+11
| | |
* | | win32: support .com executablesNguyễn Thái Ngọc Duy2010-09-142-5/+17
| | |
* | | win32: awk sort of worksNguyễn Thái Ngọc Duy2010-09-141-1/+1
| | |
* | | win32: dos2unix: do no fchmod() because it is not supportedNguyễn Thái Ngọc Duy2010-09-111-0/+2
| | |
* | | win32: mingw.h: add WCOREDUMP an WUNTRACEDNguyễn Thái Ngọc Duy2010-09-101-0/+4
| | |
* | | win32: which: look for .exe files tooNguyễn Thái Ngọc Duy2010-09-101-2/+22
| | |
* | | win32: shell/builtin_ulimit.cNguyễn Thái Ngọc Duy2010-09-101-0/+9
| | |
* | | win32: patch: WIPNguyễn Thái Ngọc Duy2010-09-101-4/+4
| | |
* | | win32: grep: define RE_TRANSLATE_TYPE on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+8
| | |
* | | win32: test: teach -x about .exe filesNguyễn Thái Ngọc Duy2010-09-101-0/+18
| | |
* | | win32: od_bloaty: rename some symbols due to conflict on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+7
| | |
* | | win32: ls: skip DESKTOP support as block calculation is not supported EDITNguyễn Thái Ngọc Duy2010-09-101-0/+4
| | |
* | | win32: ls: ignore stat.st_blocks on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+5
| | |
* | | win32: dd: support if=/dev/zero on WindowsNguyễn Thái Ngọc Duy2010-09-101-4/+16
| | |
* | | win32: gzip: rename eof due to symbol conflict on WindowsNguyễn Thái Ngọc Duy2010-09-101-7/+7
|/ /
* | defconfig.mingw32Nguyễn Thái Ngọc Duy2010-09-101-0/+923
| |
* | win32: ash: #ifdefNguyễn Thái Ngọc Duy2010-09-101-0/+11
| |
* | win32: add termios stub so that it buildsNguyễn Thái Ngọc Duy2010-09-103-0/+13
| |
* | win32: add strptime()Nguyễn Thái Ngọc Duy2010-09-102-1/+6
| |
* | win32: xmalloc_follow_symlinks: support ENOSYS by mingw portNguyễn Thái Ngọc Duy2010-09-101-1/+1
| |
* | win32: Replace spawn() and spawn_and_wait() with Win32 versionNguyễn Thái Ngọc Duy2010-09-101-1/+4
| |
* | win32: workaround msvcrt *printf defectsNguyễn Thái Ngọc Duy2010-09-102-1/+28
| |
* | win32: make_directory: drive letter support (buggy)Nguyễn Thái Ngọc Duy2010-09-101-4/+11
| |
* | win32: basename: support backslashesNguyễn Thái Ngọc Duy2010-09-101-0/+5
| |
* | win32: appletlib: special way to recognize applet name on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+12
| | | | | | | | | | | | | | | | argv[0] on Windows is always the executable path. We can't rely on it to extract the applet name. For single busybox executable, just pass an environment variable, BUSYBOX_APPLET_NAME. Also strip .exe suffix when looking for applet name.
* | win32: add utimes and fix utime(file,NULL)Nguyễn Thái Ngọc Duy2010-09-102-1/+42
| |
* | win32: Replace rename() (WHY?)Nguyễn Thái Ngọc Duy2010-09-102-0/+36
| |
* | win32: Replace getcwd() to return forward slashesNguyễn Thái Ngọc Duy2010-09-101-0/+13
| |
* | win32: add utime()Nguyễn Thái Ngọc Duy2010-09-101-0/+29
| |
* | win32: Work around for dup2Nguyễn Thái Ngọc Duy2010-09-102-0/+9
| | | | | | | | Original dup2() does not return the fdto.
* | win32: Replace stat/lstatNguyễn Thái Ngọc Duy2010-09-102-1/+145
| |
* | win32: Replace open/fopen to support /dev/nullNguyễn Thái Ngọc Duy2010-09-102-0/+38
| |
* | win32: execable.c: support .exe suffixNguyễn Thái Ngọc Duy2010-09-101-1/+24
| |
* | win32: add next_path_sep()Nguyễn Thái Ngọc Duy2010-09-102-0/+24
| |
* | win32: add shell script and internal applet execution to spawn* and exec*Nguyễn Thái Ngọc Duy2010-09-102-0/+264
| | | | | | | | | | | | Most of this was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository.
* | win32: Support certain ANSI sequences on cmd.exeNguyễn Thái Ngọc Duy2010-09-103-0/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* | win32: Import regex sourceNguyễn Thái Ngọc Duy2010-09-103-0/+5420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | win32: copy_file: always use lstat to avoid macro conflictNguyễn Thái Ngọc Duy2010-09-101-0/+5
| | | | | | | | | | | | stat() in win32 port is actual a macro, not a function. Doing it the way it is now won't work. stat/lstat is not different in Windows anyway.
* | win32: add unlink()Nguyễn Thái Ngọc Duy2010-09-102-0/+10
| |
* | win32: getopt32: set optind = 0 on WindowsNguyễn Thái Ngọc Duy2010-09-101-1/+1
| | | | | | | | | | I haven't dug deep into this, but experiments show that optind = 1 does not work. Maybe MinGW guys took getopt from glibc?
* | win32: add getenv(), setenv(), unsetenv() and clearenv()Nguyễn Thái Ngọc Duy2010-09-103-4/+124
| | | | | | | | clearenv() is not supported yet.
* | win32: add poll()Nguyễn Thái Ngọc Duy2010-09-102-1/+70
| | | | | | | | Only works for pipes, as commented in the source code.
* | win32: add fcntl()Nguyễn Thái Ngọc Duy2010-09-102-1/+15
| |
* | win32: add waitpid()Nguyễn Thái Ngọc Duy2010-09-103-1/+12
| |
* | win32: add mkdir()Nguyễn Thái Ngọc Duy2010-09-102-1/+7
| |
* | win32: add get_busybox_exec_path(), which is bb_busybox_exec_pathNguyễn Thái Ngọc Duy2010-09-103-0/+17
| | | | | | | | | | This function will become bb_busybox_exec_path because there is no fixed installation location on Windows.