078323010b
dc: conditionalize parts which require libm
Denis Vlasenko
2008-10-20 08:43:10 +00:00
b730474bda
ash: fix NOEXEC mode - we were forgetting to pass environment! env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
Denis Vlasenko
2008-10-20 08:15:51 +00:00
d1660cb9ad
ash: fix a bug in standalone mode (corrupted getopt() state)
Denis Vlasenko
2008-10-20 07:52:33 +00:00
582dff0514
volume identification: abolish /proc/partitions and /proc/cdroms scanning. It does not catch volume managers and such. Adding even more cruft is bad, so I decided to simply scan /dev/* for any block devices. See how much better it finds devices now:
Denis Vlasenko
2008-10-19 19:36:30 +00:00
bff06fe02a
blkid: vda forgot to svn add it again. vda is stupid
Denis Vlasenko
2008-10-19 17:47:31 +00:00
4bdeaaf556
Comment and whitespace tweaks.
Rob Landley
2008-10-19 04:21:21 +00:00
d83676ec47
data_extract_all: do not complain if directory exists on mkdir rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main - rpm doesn't want to have that
Denis Vlasenko
2008-10-17 14:03:56 +00:00
8ef801b40c
vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.
Denis Vlasenko
2008-10-16 09:46:07 +00:00
7960ea8918
Confirmed that on Linux the serial interrupt takes precedence over the timer interrupt, so we don't need to worry about scheduler delays. This means the delay can be trimmed down to 25 miliseconds. Add comment while at it.
Rob Landley
2008-10-16 06:34:10 +00:00
25497c1d92
vi: reinstate timeout of 300 ms
Denis Vlasenko
2008-10-14 10:25:05 +00:00
5373fbcd11
vi: add comments to Rob's algorithm of reading and matching ESC sequences (nice work btw!)
Denis Vlasenko
2008-10-14 10:09:56 +00:00
5e38cd910a
Escape sequences sent over serial links don't come in as a block, so poll needs to pause a bit to make sure the next character has time to come in.
Rob Landley
2008-10-14 08:44:09 +00:00
988dd5549b
Clean up editors/vi.c:readit() so it only does readahead when actually parsing an escape sequence. (This mitigates but doesn't fully fix the the "cursoring around the file deletes data under qemu" bug, presumably due to "\033[D" being treated as three separate characters.)
Rob Landley
2008-10-14 01:42:33 +00:00
f886fd2bc7
hush: fix NOMMU bug (analogous to preceding commit for MMU)
Denis Vlasenko
2008-10-13 12:36:05 +00:00
d29084dd7d
testcase for the last fix
Denis Vlasenko
2008-10-13 08:54:42 +00:00
22d10a0292
hush: fix trashing of environment by local env vars: a=a; a=b cmd; - a was unset! +57 bytes
Denis Vlasenko
2008-10-13 08:53:43 +00:00
1e19afd38a
blkid: new applet. We almost had everything needed for it already
Denis Vlasenko
2008-10-12 11:20:08 +00:00
d5e305944a
findfs: fix LUKS and FAT detection routines; do not exit if corrupted FAT fs makes us try to seek past volume
Denis Vlasenko
2008-10-12 11:17:49 +00:00
cdd1f732bc
zcip: code size optimizations, improved help text and comments
Denis Vlasenko
2008-10-10 11:28:39 +00:00
afd7a8d744
hush: fix environment and memory leaks, add tests for them
Denis Vlasenko
2008-10-09 16:29:44 +00:00
07e05c100f
unzip: remove example of a file we now can handle
Denis Vlasenko
2008-10-09 13:52:30 +00:00
c373527e4f
hush: preparatory work for implementing functions
Denis Vlasenko
2008-10-09 12:58:26 +00:00
9af22c7626
hush: massive renaming of ill-named structures and fields hush: error out on constructs like: $ abc(def) - was working as if it was (abcdef) $ case b in abc(a|(b) echo YES; esac - was ignoring 'abc' and extra '('
Denis Vlasenko
2008-10-09 12:54:58 +00:00
578de8644c
- route metric support (Natanael Copa) Adds about 75b
Bernhard Reutner-Fischer
2008-10-07 17:00:58 +00:00
2239f81941
- add some anchors
Bernhard Reutner-Fischer
2008-10-07 16:05:03 +00:00
834dee785d
ash: support &> redirection (bashism). ~90 bytes of code
Denis Vlasenko
2008-10-07 09:18:30 +00:00
176d49d4f7
ash: some beautification work, no code changes
Denis Vlasenko
2008-10-06 09:51:47 +00:00
93d0776a96
watchdog: WDIOC_SETTIMEOUT accepts seconds, not milliseconds klogd: handle many lines at once, by Steve Bennett (steveb AT workware.net.au)
Denis Vlasenko
2008-10-04 16:40:17 +00:00
c2d5a27b62
- wrap overlong line
Bernhard Reutner-Fischer
2008-10-02 13:30:31 +00:00
f60719cd49
grep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case by Natanael Copa
Denis Vlasenko
2008-09-30 22:37:29 +00:00
df6b3ad6ba
inetd: use config parser. by Vladimir
Denis Vlasenko
2008-09-30 01:22:25 +00:00
58680706d7
route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)
Denis Vlasenko
2008-09-28 23:39:18 +00:00
1a89133caf
Markus Heidelberg writes: * document --nicelevel in Config.in * usage: --verbose is the fancy option, not --quiet
Bernhard Reutner-Fischer
2008-09-26 15:14:56 +00:00
48a6773b3a
- add less -I to be able to search case-insensitively +17b, but the helptext is quite elaborate, thus: function old new delta .rodata 118995 119032 +37 packed_usage 24731 24767 +36 regex_process 284 300 +16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 89/0) Total: 89 bytes
Bernhard Reutner-Fischer
2008-09-26 14:10:17 +00:00
fd3552dff9
- commentary typo fix
Bernhard Reutner-Fischer
2008-09-26 11:23:22 +00:00
bfc93a3caf
nmeter: 4k buffers are too small for /proc files, make them dynamically sized with 16k upper limit. +75 bytes
Denis Vlasenko
2008-09-26 11:12:09 +00:00
ee5dce3365
libpwdgrp: make it coexist with <pwd.h>, <grp.h> and <shadow.h>. allows to get rid of hacks in libbb.h (extra declaration of setgroups - now it comes from grp.h as intended).
Denis Vlasenko
2008-09-26 10:35:55 +00:00
cdb0b652dd
dhcpc: treat "discover...select...discover..." loop the same way as "discover...discover...discover..."
Denis Vlasenko
2008-09-26 09:34:15 +00:00
b46d5f9a93
fix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/ by Markus Heidelberg (markus.heidelberg AT web.de)
Denis Vlasenko
2008-09-25 21:06:24 +00:00
42cc6bab16
top: don't lie in help screen about "-d 1" being valid
Denis Vlasenko
2008-09-25 11:17:10 +00:00
35840ab204
top: fixes to prev commit: '1' should toggle SMP view too; "cpu ..." line should be parsed unconditionally top: do not truncate loadavg string. More info -> better
Denis Vlasenko
2008-09-25 11:11:37 +00:00
864329d674
- fix compilation on OSF/1
Bernhard Reutner-Fischer
2008-09-25 10:55:05 +00:00
17e7f04c8d
top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
Denis Vlasenko
2008-09-25 10:48:06 +00:00
cac0f5b7e5
return setgroups() decl to libbb, it is needed if we use libpwdgrp.
Denis Vlasenko
2008-09-25 10:20:46 +00:00
f6cad924b1
we dont provide setgroups() replacement, so dont provide the prototype either ... especially since it conflicts on some systems (like Darwin)
Mike Frysinger
2008-09-25 00:41:49 +00:00
30cfdf90ce
crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e) vi: deal with EOF/error on stdin and with input NULs
Denis Vlasenko
2008-09-21 15:29:29 +00:00
006e8628fc
unzip: handle "central directory" needed for OpenOffice, gmail attachment .zips etc conditional on CONFIG_DESKTOP
Denis Vlasenko
2008-09-21 01:01:46 +00:00
eef6077d7e
setfont: use ioctl(KDFONTOP), it honours -C tty
Denis Vlasenko
2008-09-20 18:14:13 +00:00
b8d1a4cd5f
init: set stderr to NONBLOCK *: s/setenv(a,b,1)/xsetenv(a,b)/
Denis Vlasenko
2008-09-20 16:28:59 +00:00
b61dc1c1ce
webpage: add "RD129 embedded board from ELPA" to product page split it into "projects" (software) and "products" (hardware) parts
Denis Vlasenko
2008-09-20 15:16:50 +00:00
3728bc5a3d
website: add a product using bbox - EMTEC MovieCube R700
Denis Vlasenko
2008-09-20 13:28:45 +00:00
248b4a77e7
libbb: document that we maybe will want to understand \e someday (no code changes)
Denis Vlasenko
2008-09-19 23:43:59 +00:00
9ac706b7a6
grep: yet another fixlet for EXTRA_COMPAT
Denis Vlasenko
2008-09-19 21:32:51 +00:00
c110b7d61f
grep: fix EXTRA_COMPAT grep to honor -E and -i
Denis Vlasenko
2008-09-19 21:29:21 +00:00
72fa70af4c
setfont: small fixes from Vladimir
Denis Vlasenko
2008-09-18 01:01:02 +00:00
28f5619e84
slattach: preserve speed in non-raw mode. +39 bytes. by Matthieu CASTET (matthieu.castet AT parrot.com)
Denis Vlasenko
2008-09-16 21:27:59 +00:00
53f219ebbe
setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir) build system: fixlet for echo applet config
Denis Vlasenko
2008-09-16 19:35:42 +00:00
a1e16c9298
man: do not use default if /etc/man.conf has different MANPATH do not warn if /etc/man.conf does not exist
Denis Vlasenko
2008-09-14 21:30:35 +00:00