Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | win32: return an error when lseek is applied to a pipe | Ron Yorston | 2016-05-24 | 1 | -0/+14 | |
| | | | | | | | | | | | tail failed to process input from a pipe correctly: $ echo -n 54321 | tail -c 3 543 It was trying to use lseek as an optimisation but WIN32 lseek doesn't return an error whan applied to a pipe. Fix this by providing a wrapper for lseek. | |||||
* | Silence a couple of compiler warnings | Ron Yorston | 2016-03-06 | 1 | -1/+2 | |
| | ||||||
* | mingw: silently ignore O_NONBLOCK on file open | Ron Yorston | 2016-02-22 | 1 | -2/+1 | |
| | ||||||
* | ln: enable in default configuration | Ron Yorston | 2015-10-19 | 1 | -0/+2 | |
| | ||||||
* | win32: fix implementation of '%z' in strftime | Ron Yorston | 2015-10-13 | 1 | -0/+27 | |
| | | | | | | | | Windows' strftime prints the name of the timezone rather than the timezone offset for '%z'. Add a hack to do it properly. Windows' strftime also uses its own version of the timezone name for '%Z'. A workaround for this is to set the TZ environment variable. | |||||
* | win32: append '/' to bare drive name in opendir | Ron Yorston | 2015-09-30 | 1 | -0/+15 | |
| | | | | Make 'ls c:' and 'ls c:/*' do the right thing. | |||||
* | win32: remove setitimer implementation and SIGALRM handling | Ron Yorston | 2015-07-26 | 1 | -124/+0 | |
| | | | | | | | Commit 69f49ea imported a setitimer implementation from git. Since setitimer isn't used at all in BusyBox it can be removed. The same technique could be used to implement alarm but nothing in the WIN32 port uses that (yet). | |||||
* | win32: silence some compiler warnings | Ron Yorston | 2015-07-15 | 1 | -1/+2 | |
| | ||||||
* | mingw: fix conditions under which open(2) sets errno to EISDIR | Ron Yorston | 2015-05-29 | 1 | -1/+1 | |
| | ||||||
* | mingw: buffer in do_stat_internal need not be static | Ron Yorston | 2015-05-29 | 1 | -1/+1 | |
| | ||||||
* | mingw: tidy up implementation of kill(2) | Ron Yorston | 2015-05-29 | 1 | -1/+1 | |
| | ||||||
* | mingw: provide fake getgroups and getgrouplist | Ron Yorston | 2015-05-18 | 1 | -0/+22 | |
| | | | | | 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 Yorston | 2015-05-18 | 1 | -0/+12 | |
| | | | | This allows the shell to expand ~user. | |||||
* | Allow globbing to be enabled with mingw64 | Ron Yorston | 2015-04-12 | 1 | -6/+15 | |
| | | | | | | | | | | mingw64 handles globbing differently from mingw32. Add code to allow globbing to be enabled. (By default mingw64 has globbing disabled, though the default can be changed when it's compiled.) Also change the configuration option from ENABLE_NOGLOB to ENABLE_GLOBBING, because double negatives make me think too much. The default is still for globbing to be disabled. | |||||
* | mingw: changes to handling of directory permissions | Ron Yorston | 2015-03-25 | 1 | -0/+21 | |
| | | | | | | | | | 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 | |||||
* | test: fix access check bug; tweak fake file mode | Ron Yorston | 2015-03-24 | 1 | -0/+3 | |
| | | | | | | | | | | | Changing the fake uid from 0 to 1000 uncovered a problem with file access checks in test. Previously the tests were short-circuited because it thought we were root. With a non-root user the tests were performed, but the mode bits had been redefined for WIN32. Also adjust the fake file mode returned by stat so that the user and group modes are identical. Other users have the same modes as user but without write permission. | |||||
* | Enable logname in mingw32 configuration | Ron Yorston | 2015-02-27 | 1 | -0/+17 | |
| | ||||||
* | Make uid/gid handling more consistent | Ron Yorston | 2015-02-26 | 1 | -14/+51 | |
| | | | | | | | | 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. | |||||
* | Changes to allow building with MinGW-w64 | Ron Yorston | 2015-01-05 | 1 | -0/+5 | |
| | ||||||
* | 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 | |||||
* | 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 | |||||
* | 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. | |||||
* | MinGW: rename execable -> executable | Ron Yorston | 2014-05-06 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'busybox' into merge | Ron Yorston | 2014-05-06 | 1 | -2/+2 | |
| | | | | | | | 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 | |
| | ||||||
* | Fix some compiler warnings | Ron Yorston | 2014-03-13 | 1 | -9/+9 | |
| | ||||||
* | 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 | |
| | ||||||
* | mingw: dummy implementation of times/sysconf | Ron Yorston | 2014-01-30 | 1 | -0/+19 | |
| | ||||||
* | date: improve emulation of %e format | Ron Yorston | 2014-01-21 | 1 | -15/+20 | |
| | ||||||
* | win32: use strptime from gnulib | Ron Yorston | 2014-01-20 | 1 | -5/+0 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | ash: set working directory and environment on first startup | Ron Yorston | 2012-04-26 | 1 | -1/+5 | |
| | ||||||
* | win32: add pw_shell to struct passwd | Ron Yorston | 2012-04-23 | 1 | -0/+1 | |
| | ||||||
* | win32: support fancy prompts and (limited) tilde expansion | Ron Yorston | 2012-04-23 | 1 | -1/+29 | |
| | ||||||
* | strsep is in upstream BusyBox: no need for MINGW32 version | Ron Yorston | 2012-04-18 | 1 | -18/+0 | |
| | ||||||
* | Make fake fcntl(F_DUPFD) for WIN32 | Ron Yorston | 2012-04-03 | 1 | -12/+40 | |
| | ||||||
* | Update mingw.c from latest git/compat | Ron Yorston | 2012-03-30 | 1 | -51/+64 | |
| | ||||||
* | Use gnulib poll, importing the version from git | Ron Yorston | 2012-03-30 | 1 | -69/+0 | |
| | ||||||
* | win32: add strptime() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+5 | |
| | ||||||
* | win32: add utimes and fix utime(file,NULL) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+41 | |
| | ||||||
* | win32: Replace rename() (WHY?) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+34 | |
| | ||||||
* | win32: Replace getcwd() to return forward slashes | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+13 | |
| |