summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * examples/udhcp: do not rewrite resolv.conf if no DNS servers. Closes 6788Denys Vlasenko2014-01-132-14/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * docs: tweak keep_data_small.txtDenys Vlasenko2014-01-131-1/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: use strptime from gnulibRon Yorston2014-01-203-5/+649
| |
* | date: add dummy stimeRon Yorston2014-01-193-5/+7
| |
* | date: actually use modified strftimeRon Yorston2014-01-191-0/+3
| |
* | date: emulate %e formatRon Yorston2014-01-192-8/+31
| |
* | tar: enable -X, -T and --exclude in MINGW32 configurationRon Yorston2014-01-161-1/+1
| |
* | ash: reset pointers to builtin environment variables after forkRon Yorston2014-01-141-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The builtin environment variables can be accessed using macros that reference the varinit array. initvar puts pointers to varinit into the variable hash table. During forkshell_prepare two copies of the builtin variables are made: once as the varinit array and again through the pointers in the hash table. One of these copies is accessed by code that uses the macros and the other by code that looks up the variable by name. This is the cause of the strange behaviour of IFS in backticks: https://github.com/pclouds/busybox-w32/issues/12 To avoid the problem the pointers in the hash table are reset to the varinit array in forkshell_init. It seemed easier to do it this way than to try and prevent the duplicate copies being made in the first place.
* | awk: treat \r as a space character to skipRon Yorston2014-01-131-0/+4
| |
* | ash: revert initialisation of SHLVL: fixed upstreamRon Yorston2014-01-131-4/+0
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-01-1321-75/+191
|\| | | | | | | | | | | Conflicts: include/platform.h scripts/basic/fixdep.c
| * tar: tighten up pax header validity checkDenys Vlasenko2014-01-101-1/+3
| | | | | | | | | | | | | | function old new delta get_header_tar 1785 1795 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fakeidentd: simplify ndelay manipulationsDenys Vlasenko2014-01-101-10/+9
| | | | | | | | | | | | | | | | function old new delta new_peer 91 79 -12 do_rd 197 152 -45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tail: adjust help/usage textsCristian Ionescu-Idbohrn2014-01-102-5/+5
| | | | | | | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: fix trivial build failureDenys Vlasenko2014-01-101-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libarchive: open_zipped() does not need to check extensions for e.g. gzipDenys Vlasenko2014-01-101-12/+11
| | | | | | | | | | | | | | | | | | We only need to check for signature-less extensions, currently only .lzma. The rest can be happily autodetected. This fixes "zcat FILE_WITHOUT_GZ_EXT" case, among others. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: fix non-portable sed constructs.Matthias Andree2014-01-101-2/+12
| | | | | | | | | | | | | | | | This includes proper line breaks for labels and closing braces, and removing non-portable \n and \t in s/// functions. Signed-off-by: Matthias Andree <matthias.andree@gmx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fixlet for the previous commit #2Denys Vlasenko2014-01-091-4/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fixlet for the previous commitDenys Vlasenko2014-01-091-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * networking: explain isrv_run() APIDenys Vlasenko2014-01-091-1/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fakeidentd: fix use-after-freeRyan Mallon2014-01-091-13/+12
| | | | | | | | | | | | | | | | function old new delta do_rd 199 197 -2 Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chown: fix help textDenys Vlasenko2014-01-091-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: fix a regression introduced with -HLP supportDenys Vlasenko2014-01-092-1/+42
| | | | | | | | | | | | | | function old new delta find_main 294 342 +48 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ping: revert "try SOCK_DGRAM if no root privileges"Denys Vlasenko2014-01-091-16/+3
| | | | | | | | | | | | | | It wasn't working, and fixes on top of it would make ping noticeably larger. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: "make hosttools" doesn't exist, remove it from "make help"Denys Vlasenko2014-01-091-4/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: stop including alloca.h, stdlib.h provides itDenys Vlasenko2014-01-092-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: adjust last packet's recv time after a stepDenys Vlasenko2014-01-081-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: FreeBSD fix for B<num> baud rate constants not fitting into a short.Denys Vlasenko2014-01-081-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Another FreeBSD fix from Matthias AndreeDenys Vlasenko2014-01-081-3/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ash: in bash compat mode, always export $SHLVLDenys Vlasenko2014-01-071-1/+1
| | | | | | | | | | | | | | function old new delta ash_main 1437 1442 +5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix two bugs with -wDenys Vlasenko2014-01-072-3/+37
| | | | | | | | | | | | | | | | | | Unfortunately, with !EXTRA_COMPAT, "grep -w ^str" still erroneously matches "strstr". function old new delta grep_file 1499 1510 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * platform.h: undef HAVE_STRCHRNUL only on correct versions of FreeBSDDenys Vlasenko2014-01-071-5/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | ash: don't copy localvars list during forkshellRon Yorston2014-01-131-23/+2
| | | | | | | | | | | | The localvars linked list is only required to tidy up local variables when a shell function returns. There's no point in copying it to a child process.
* | shell: add \r to IFSRon Yorston2014-01-121-0/+4
| | | | | | | | | | | | When commands run in backquotes generated multiple lines of output the carriage returns weren't being removed. Adding \r to IFS fixes this.
* | ash: prevent null-pointer exception with local variablesRon Yorston2014-01-101-1/+1
| | | | | | | | | | | | A local variable can have a null text pointer: if so, don't call strlen. localvar_copy handles this correctly because nodeckstrdup doesn't try to copy from the null pointer.
* | libbb: drop unnecessary change from upstream BusyBoxRon Yorston2014-01-081-2/+0
| |
* | ash: drop unnecessary change from upstream BusyBoxRon Yorston2014-01-081-2/+0
| |
* | Implement POSIX-compliant mktemp for WIN32Ron Yorston2014-01-073-4/+16
| |
* | Revise mingw_stat to minimise changes from upstream BusyBoxRon Yorston2014-01-078-47/+64
| |
* | Make dummy resource.hRon Yorston2014-01-062-2/+0
| |
* | Remove feature that allows stat -f to be disabledRon Yorston2014-01-063-27/+4
| |
* | Extend WIN32 statfs to include type, fsid and namelenRon Yorston2014-01-064-21/+57
| |
* | Use the preprocessor to fake st_blocksRon Yorston2014-01-055-18/+8
| |
* | Make dummy paths.hRon Yorston2014-01-052-2/+0
| |
* | Initialise SHLVL when shell is first startedRon Yorston2014-01-021-0/+4
| |
* | Define bb_got_signal for use in tar on mingw32Ron Yorston2014-01-021-0/+4
| |
* | Provide dummy implementations of seteuid/setegidRon Yorston2014-01-021-0/+2
| |
* | Move mingw32 poll.h from sysRon Yorston2014-01-022-1/+1
| |
* | Update mingw32 default configurationRon Yorston2014-01-021-30/+34
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-01-02141-1162/+1724
|\| | | | | | | | | | | Conflicts: archival/Config.src shell/ash.c