aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * Start 1.23.0 development cycleDenys Vlasenko2014-01-011-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Bump version to 1.22.01_22_0Denys Vlasenko2014-01-011-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: remove forgotten debug hackDenys Vlasenko2013-12-311-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix failures found by randomconfig buildsDenys Vlasenko2013-12-317-13/+34
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: disable tests for no longer supported bbox-specific date formatsDenys Vlasenko2013-12-312-6/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * adduser: check whether run with no USERNAME. Closes 6728Denys Vlasenko2013-12-201-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: fix false positives for duDenys Vlasenko2013-12-202-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: fix make gconfigDaniel Borca2013-12-191-1/+1
| | | | | | | | | | | | | | Was getting "undefined reference to symbol 'dlsym@@GLIBC_2.2.5'". Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: accept s///i as a synonym for s///I ("ignore case")David A. Wheeler2013-12-181-1/+2
| | | | | | | | | | Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hostname: do not use gethostbyname() for "hostname -s"Michael Tokarev2013-12-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no reason to call gethostbyname() on the value returned by uname() when asked just for a short name of a host. This may also be wrong, when uname is set to one value, but in /etc/hosts (or elsewhere) the "canonical" name is different. This is often the case for localhost entry in /etc/hosts: 127.0.0.1 localhost myname With this content of /etc/hosts, and uname being set to myname, busybox hostname -s will return localhost, while regular hostname utility returns myname. Fix this by not calling gethostbyname() for the simple 'hostname -s' use. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: user-friendly fallback to httpLauri Kasanen2013-12-171-5/+12
| | | | | | | | | | | | | | | | | | | | | | GNU wget: wget google.com // ok bb before: wget google.com // wget: not an http or ftp url function old new delta parse_url 317 339 +22 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * kill[all[5]]: code shrinkDenys Vlasenko2013-12-161-20/+18
| | | | | | | | | | | | | | function old new delta kill_main 992 947 -45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * killall5: return 2 if no processes got killedUros Vampl2013-12-161-1/+4
| | | | | | | | | | | | | | function old new delta kill_main 943 992 +49 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * do not fail build if MAXSYMLINKS isn't definedMichael Tokarev2013-12-161-0/+6
| | | | | | | | | | | | | | This is needed for, eg, hurd, which is known to have no constraints. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * expand: use printable_string instead of hard-coding implementationMichael Tokarev2013-12-161-10/+3
| | | | | | | | | | | | | | | | function old new delta expand_main 709 690 -19 Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: speed up resyncing if our clock is seriously offDenys Vlasenko2013-12-081-7/+39
| | | | | | | | | | | | | | function old new delta recv_and_process_peer_pkt 892 922 +30 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: do not invalidate datapoints after stepDenys Vlasenko2013-12-071-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used to set p->filter_datapoint[i].d_dispersion = MAXDISP and clear reachable bits, but this proved to be too agressive: after step (tested with suspinding laptop for ~30 secs), this caused all previous data to be considered invalid, making us needing to collect full ~8 datapoins per peer after step in order to start trusting them. In turn, this was making poll interval decrease even after step was done. (Poll interval decreases already before step in this scenario, because we see large offsets and end up with no good peer to select). function old new delta reset_peer_stats 157 139 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: comment out "spike detection" codeDenys Vlasenko2013-12-041-4/+9
| | | | | | | | | | | | | | function old new delta update_local_clock 982 835 -147 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: promote log level 3 to productionDenys Vlasenko2013-12-041-45/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without it, peer selection logic is hard to debug function old new delta update_local_clock 861 982 +121 select_and_cluster 962 1065 +103 common_ping_main 1788 1821 +33 huft_build 1287 1296 +9 chpst_main 708 704 -4 INET6_resolve 127 119 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/2 up/down: 266/-12) Total: 254 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: let user know if spike was detectedDenys Vlasenko2013-12-041-4/+7
| | | | | | | | | | | | | | function old new delta update_local_clock 861 943 +82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Use unsigned printf/scanf conversion where more appropriateDenys Vlasenko2013-11-2918-37/+37
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>