aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* mingw: provide fake getgroups and getgrouplistRon Yorston2015-05-181-1/+2
| | | | | This makes it possible to enable the id and groups applets, though the results they return are worthless.
* mingw: implement getpwnam (but only for current user)Ron Yorston2015-05-181-1/+1
| | | | This allows the shell to expand ~user.
* mingw: additional networking supportRon Yorston2015-04-221-2/+13
|
* mingw: changes to handling of directory permissionsRon Yorston2015-03-251-0/+5
| | | | | | | | | The read-only attribute on a directory in Microsoft Windows is quite different from write permission in POSIX. Modify rmdir(2) and chmod(2) to provide more POSIX-like behaviour: rmdir will remove a directory even if it's read-only chmod won't make a directory read-only
* Post-merge fixesRon Yorston2015-03-141-0/+1
|
* Enable logname in mingw32 configurationRon Yorston2015-02-271-0/+1
|
* Make uid/gid handling more consistentRon Yorston2015-02-261-6/+10
| | | | | | | | Various fake POSIX routines returned different values for uid/gid: getuid/getgid used 1, stat used 0 and getpwuid used 1000. Standardise on 1000. Also, add fake getgrgid.
* Fix error: conflicting types for ‘pid_t’ with mingw64Tony Kelman2015-01-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Using x86_64-w64-mingw32-gcc cross-compiler for win64 gives an error: ``` In file included from include/libbb.h:163:0, from include/busybox.h:8, from applets/applets.c:9: include/mingw.h:10:13: error: conflicting types for ‘pid_t’ typedef int pid_t; ^ In file included from /usr/share/mingw-w64/include/process.h:12:0, from /usr/share/mingw-w64/include/unistd.h:11, from include/platform.h:313, from include/libbb.h:13, from include/busybox.h:8, from applets/applets.c:9: /usr/share/mingw-w64/include/sys/types.h:68:16: note: previous declaration of ‘pid_t’ was here typedef _pid_t pid_t; ^ make[1]: *** [applets/applets.o] Error 1 ``` This change fixes it and results in a successful build of 64-bit busybox.exe.
* Changes to allow building with MinGW-w64Ron Yorston2015-01-051-0/+5
|
* Revert "Use putenv to implement unsetenv/clearenv"Ron Yorston2014-12-181-3/+1
| | | | This reverts commit fa147bd7ecb086f4fb9a4afea16b946693a822ce.
* Remove declaration of getpagesizeRon Yorston2014-11-291-7/+0
|
* Use putenv to implement unsetenv/clearenvRon Yorston2014-11-231-1/+3
| | | | | | | | | | 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: rename execable -> executableRon Yorston2014-05-061-1/+1
|
* Provide fake getpwent_r to reduce changes from upstreamRon Yorston2014-03-231-0/+3
|
* Implement vprintf replacementRon Yorston2014-03-201-0/+2
|
* Implement getc replacementRon Yorston2014-03-201-0/+2
|
* Implement read replacement to handle OEM codepagesRon Yorston2014-03-201-0/+2
|
* Implement write replacement to handle OEM codepagesRon Yorston2014-03-201-0/+2
|
* Implement puts replacement to handle OEM codepagesRon Yorston2014-03-191-0/+2
|
* Use OEM codepage for console I/ORon Yorston2014-03-191-0/+4
| | | | | | | | | | 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 settingRon Yorston2014-03-171-5/+1
|
* Fix some compiler warningsRon Yorston2014-03-131-1/+1
|
* Pretend chown succeeds so 'cp -rp' doesn't complainRon Yorston2014-03-131-1/+1
|
* Remove unused mingw_utime; update utimes to handle read-only filesRon Yorston2014-03-121-4/+0
|
* Import mempcpy from gnulibRon Yorston2014-03-111-0/+5
|
* mingw: dummy implementation of times/sysconfRon Yorston2014-01-301-0/+17
|
* date: add dummy stimeRon Yorston2014-01-191-0/+1
|
* date: actually use modified strftimeRon Yorston2014-01-191-0/+3
|
* Implement POSIX-compliant mktemp for WIN32Ron Yorston2014-01-071-0/+2
|
* Revise mingw_stat to minimise changes from upstream BusyBoxRon Yorston2014-01-071-19/+26
|
* Use the preprocessor to fake st_blocksRon Yorston2014-01-051-0/+7
|
* Provide dummy implementations of seteuid/setegidRon Yorston2014-01-021-0/+2
|
* Provide fake fchmod implementationRon Yorston2013-03-261-1/+1
|
* mingw.h: fixes for MinGW-w64Ron Yorston2012-09-191-12/+5
|
* Use win32_execable_file() in test, which and execable.cRon Yorston2012-05-091-0/+2
|
* mingw32: make access(2) check file format for executablesRon Yorston2012-05-091-0/+4
|
* mingw32: implement system(3) call using sh instead of cmd.exeRon Yorston2012-05-011-0/+3
|
* win32: remove dummy getdomainname functionRon Yorston2012-04-291-1/+0
|
* win32: add pw_shell to struct passwdRon Yorston2012-04-231-0/+1
|
* win32: use uname/getdomainname in safe_gethostname.cRon Yorston2012-04-231-0/+1
|
* win32: implement ioctlRon Yorston2012-04-231-1/+1
|
* win32: add popen implementation that uses shellRon Yorston2012-04-231-0/+5
|
* strsep is in upstream BusyBox: no need for MINGW32 versionRon Yorston2012-04-181-4/+0
|
* Make fake fcntl(F_DUPFD) for WIN32Ron Yorston2012-04-031-0/+2
|
* ash: some fixes so busybox-w32 (almost) compiles on POSIXRon Yorston2012-04-031-1/+0
|
* Fix off_t define so MINGW32 doesn't require LFSRon Yorston2012-03-311-1/+3
|
* Update mingw.c from latest git/compatRon Yorston2012-03-301-6/+7
|
* Use gnulib poll, importing the version from gitRon Yorston2012-03-301-14/+0
|
* MinGW snprintf/vsnprintf work properlyRon Yorston2012-03-261-0/+12
|
* Simplify MINGW32 support in ls.cRon Yorston2012-03-261-0/+1
|