tar: fix 256-bit encoded number decoding

Signed-off-by: Etienne Le Sueur <elesueur@vmware.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ps: use separate get_uptime() and make it work on non-linux too

Create get_uptime() function in procps/ps.c, and use it rather than
relying on linux-specific sysinfo() inline.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mount: fix the wrongly stored fs creation time

This bug made our ext2 images non-mountable by ext4 driver.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
man: fix handling of gzipped manpages

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ifupdown: improve compatibility with Debian

Set environment variable 'PHASE'.
Treat post-up and pre-down as aliases for up and down.
Uses the same logic as ifupdown.nw from ifupdown-0.6.16.
Makes it possible to execute Debian's ifupdown script for
wpa-supplicant.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ash: fix a bug in > handling. Closes 5282
fbset: respect rgba configuration lines in fb.modes

The fbset utility would not respect "rgba" config entries in
the fb.modes file such as this (for the ARM Integrator/CP):

mode "640x480-60-clcd"
    # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz
    geometry 640 480 640 480 16
    timings 39722 48 16 33 10 96 2
    rgba 5/10,5/5,5/0,1/15
endmode

This is important especially for this ARGB5551 device which
is hopeless to configure otherwise. I noticed this lacking
feature after the TI "fbtest" program managed to set up the
the colormode correctly.

Signed-off-by: Linus Walleij <triad@df.lth.se>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
vi: do not set autoindent by default

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
vi: nuke FEATURE_VI_OPTIMIZE_CURSOR

It is not Unicode safe, it is not saving much of I/O, and it's large:

function                                             old     new   delta
vi_main                                              255     253      -2
go_bottom_and_clear_to_eol                            28      26      -2
do_cmd                                              4194    4182     -12
show_status_line                                     388     374     -14
strncat                                               39       -     -39
__GI_strncat                                          39       -     -39
refresh                                              774     724     -50
place_cursor                                         276      83    -193
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/6 up/down: 0/-351)           Total: -351 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
ionice: fix missing syscall and add the applet

with the help of Tias Guns <tias@ulyssis.org>

PS: not symlinked, we have /system/bin/ionice in android toolbox
    its included as an alternative

Change-Id: Ib01023fb083a5b55467f52cd303eeaa8a9405a1d
fix stime syscall for aosp jb define

Change-Id: I7bcceee10aa3c267e7b1647c99ba83f1f16a89a1
platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH

Signed-off-by: Tias Guns <tias@ulyssis.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
su: do not change to home dir unless -l

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structs

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
wget: correctly handle failure to -c (continue)

function                                             old     new   delta
reset_beg_range_to_zero                                -      52     +52
wget_main                                           2168    2189     +21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
bump version to 1.20.2

Apply patches from http://busybox.net/downloads/fixes-1.20.1/
+ some others fixes from master branch related to android

Add also the inetd applet (basic, without librpc support)
only include sample features set in examples/inetd.conf

Change-Id: I60c978eef4556a5baec8d5240df7738dcfe268aa
testsuite: some more awk tests related to conditions

Change-Id: I6dea42f5cf50d6c1c070467be0c9e9a532d2a641
Merge remote branch 'remotes/cyanogenmod/ics' into merge_branch