summaryrefslogtreecommitdiff
path: root/win32 (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* win32: Replace rename() (WHY?)Nguyễn Thái Ngọc Duy2010-09-101-0/+34
|
* 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-101-0/+7
| | | | Original dup2() does not return the fdto.
* win32: Replace stat/lstatNguyễn Thái Ngọc Duy2010-09-101-0/+134
|
* win32: Replace open/fopen to support /dev/nullNguyễn Thái Ngọc Duy2010-09-101-0/+34
|
* win32: add next_path_sep()Nguyễn Thái Ngọc Duy2010-09-101-0/+20
|
* win32: add shell script and internal applet execution to spawn* and exec*Nguyễn Thái Ngọc Duy2010-09-101-0/+254
| | | | | | 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-102-0/+359
| | | | | | | | | | | | | | | | | | | | | | | | 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: add unlink()Nguyễn Thái Ngọc Duy2010-09-101-0/+8
|
* win32: add getenv(), setenv(), unsetenv() and clearenv()Nguyễn Thái Ngọc Duy2010-09-102-0/+120
| | | | clearenv() is not supported yet.
* win32: add poll()Nguyễn Thái Ngọc Duy2010-09-101-0/+69
| | | | Only works for pipes, as commented in the source code.
* win32: add fcntl()Nguyễn Thái Ngọc Duy2010-09-101-0/+14
|
* win32: add waitpid()Nguyễn Thái Ngọc Duy2010-09-102-0/+11
|
* win32: add mkdir()Nguyễn Thái Ngọc Duy2010-09-101-0/+6
|
* win32: add get_busybox_exec_path(), which is bb_busybox_exec_pathNguyễn Thái Ngọc Duy2010-09-101-0/+9
| | | | | This function will become bb_busybox_exec_path because there is no fixed installation location on Windows.
* win32: add realpath()Nguyễn Thái Ngọc Duy2010-09-101-0/+6
|
* win32: add strsep()Nguyễn Thái Ngọc Duy2010-09-101-0/+18
|
* win32: add link()Nguyễn Thái Ngọc Duy2010-09-101-0/+21
|
* win32: add function to map windows errors to posix onesNguyễn Thái Ngọc Duy2010-09-101-0/+113
|
* win32: add signal routines and SIGALRM supportNguyễn Thái Ngọc Duy2010-09-101-0/+124
| | | | | | The implementation for SIGALRM only because Git needs it (I think for progress display or something). Probably not hurt having it. Although the only thing needed here are stubs.
* win32: add getpwuid()Nguyễn Thái Ngọc Duy2010-09-101-0/+14
|
* win32: add localtime_r()Nguyễn Thái Ngọc Duy2010-09-101-0/+7
|
* win32: add gmtime_r()Nguyễn Thái Ngọc Duy2010-09-101-0/+7
|
* win32: add pipe()Nguyễn Thái Ngọc Duy2010-09-101-0/+7
|
* win32: add gettimeofday()Nguyễn Thái Ngọc Duy2010-09-101-0/+40
|
* win32: add mkstemp()Nguyễn Thái Ngọc Duy2010-09-101-0/+8
|
* win32: add sleep()Nguyễn Thái Ngọc Duy2010-09-101-0/+6
|
* win32: set binary I/O mode by defaultNguyễn Thái Ngọc Duy2010-09-102-0/+4
| | | | | | | | | 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.
* win32: Import fnmatch sourceNguyễn Thái Ngọc Duy2010-09-102-0/+495
| | | | | This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository.
* win32: add missing system headersNguyễn Thái Ngọc Duy2010-09-108-0/+0
| | | | | | | | These empty headers are to prevent #include errors. Of course those #include may be wrapped inside #ifdefs and excluded, but that would turn libbb.h into a #ifdef mess. Note that all missing declaration is in mingw.h, not in these files.
* win32: Import fnmatch headerNguyễn Thái Ngọc Duy2010-09-101-0/+84
| | | | | This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository.
* win32: add sched.hNguyễn Thái Ngọc Duy2010-09-101-0/+1
|
* win32: add termios.hNguyễn Thái Ngọc Duy2010-09-101-0/+129
Just some declaration enough to build. Proper TTY support may come later, targeting Cygwin-based terminals.