oweals/busybox.git
16 years ago- fix ip route rejecting dotted quads as prefix
Bernhard Reutner-Fischer [Tue, 21 Oct 2008 12:42:45 +0000 (12:42 -0000)]
- fix ip route rejecting dotted quads as prefix
- adjust error message for wrong prefix not to mention address
  Previously e.g. ip route add 127.0.0.0/255.0.0.0 dev dummy0
  was rejected, saying
ip: an inet address is expected rather than "127.0.0.0/255.0.0.0"

function                                             old     new   delta
get_prefix_1                                         201     309    +108
get_prefix                                            55      73     +18
get_addr                                              55      73     +18
get_addr32                                            48      58     +10
get_addr_1                                           249     204     -45
.rodata                                           114569  114524     -45
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/2 up/down: 154/-90)            Total: 64 bytes

16 years agogetopt: reinstate erroneously removed getopt() reset code.
Denis Vlasenko [Tue, 21 Oct 2008 12:36:43 +0000 (12:36 -0000)]
getopt: reinstate erroneously removed getopt() reset code.

16 years agovi: handle chars 0x80, 0x81... correctly
Denis Vlasenko [Mon, 20 Oct 2008 08:59:03 +0000 (08:59 -0000)]
vi: handle chars 0x80, 0x81... correctly

16 years agodc: conditionalize parts which require libm
Denis Vlasenko [Mon, 20 Oct 2008 08:43:10 +0000 (08:43 -0000)]
dc: conditionalize parts which require libm

16 years agoash: fix NOEXEC mode - we were forgetting to pass environment!
Denis Vlasenko [Mon, 20 Oct 2008 08:15:51 +0000 (08:15 -0000)]
ash: fix NOEXEC mode - we were forgetting to pass environment!
env: promote to NOEXEC
hd: promote to NOEXEC, as hexdump is NOEXEC already

16 years agoash: fix a bug in standalone mode (corrupted getopt() state)
Denis Vlasenko [Mon, 20 Oct 2008 07:52:33 +0000 (07:52 -0000)]
ash: fix a bug in standalone mode (corrupted getopt() state)

16 years agoadd comment explaining previous change
Denis Vlasenko [Sun, 19 Oct 2008 19:54:49 +0000 (19:54 -0000)]
add comment explaining previous change

16 years agovolume identification: abolish /proc/partitions and /proc/cdroms
Denis Vlasenko [Sun, 19 Oct 2008 19:36:30 +0000 (19:36 -0000)]
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:

# ./busybox_old blkid
/dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061"
/dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a"
/dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267"
/dev/sdb1: UUID="6F84-ED0F"

# ./busybox blkid
/dev/sdb1: UUID="6F84-ED0F"
/dev/root: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a"
/dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267"
/dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a"
/dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061"
/dev/mapper/VolGroup00-LogVol01: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267"
/dev/mapper/VolGroup00-LogVol00: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a"

function                                             old     new   delta
static.drive_name_string                              12       -     -12
append_mount_options                                 205     190     -15
volume_id_open_node                                   37      18     -19
uuidcache_check_device                               485     257    -228
uuidcache_init                                       637      36    -601
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-875)           Total: -875 bytes
   text    data     bss     dec     hex filename
 792218     592    6648  799458   c32e2 busybox_old
 791260     592    6648  798500   c2f24 busybox_unstripped

16 years agoblkid: vda forgot to svn add it again. vda is stupid
Denis Vlasenko [Sun, 19 Oct 2008 17:47:31 +0000 (17:47 -0000)]
blkid: vda forgot to svn add it again. vda is stupid

16 years agoComment and whitespace tweaks.
Rob Landley [Sun, 19 Oct 2008 04:21:21 +0000 (04:21 -0000)]
Comment and whitespace tweaks.

16 years agovi: explain why reading 4 chars is unsafe
Denis Vlasenko [Sat, 18 Oct 2008 19:37:41 +0000 (19:37 -0000)]
vi: explain why reading 4 chars is unsafe

16 years agolibbb: do not reject floating point strings like ".15"
Denis Vlasenko [Sat, 18 Oct 2008 19:18:51 +0000 (19:18 -0000)]
libbb: do not reject floating point strings like ".15"

16 years agomount: -o parm1 -o parm2 should accumulate
Denis Vlasenko [Sat, 18 Oct 2008 19:15:57 +0000 (19:15 -0000)]
mount: -o parm1 -o parm2 should accumulate

16 years agovi: whitespace fix
Denis Vlasenko [Sat, 18 Oct 2008 19:04:37 +0000 (19:04 -0000)]
vi: whitespace fix

16 years agocpio: fix regression in prev commit (harmless)
Denis Vlasenko [Fri, 17 Oct 2008 14:11:04 +0000 (14:11 -0000)]
cpio: fix regression in prev commit (harmless)

16 years agodata_extract_all: do not complain if directory exists on mkdir
Denis Vlasenko [Fri, 17 Oct 2008 14:03:56 +0000 (14:03 -0000)]
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

16 years agorpm: fix incompatibilities which prevented rpm -i foo.src.rpm
Denis Vlasenko [Thu, 16 Oct 2008 13:29:13 +0000 (13:29 -0000)]
rpm: fix incompatibilities which prevented rpm -i foo.src.rpm

function                                             old     new   delta
fileaction_setowngrp                                  57      89     +32

16 years agovi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.
Denis Vlasenko [Thu, 16 Oct 2008 09:46:07 +0000 (09:46 -0000)]
vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.

function                                             old     new   delta
edit_file                                            901     912     +11
count_lines                                           74      72      -2
readit                                               306     289     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 11/-19)             Total: -8 bytes

16 years agoConfirmed that on Linux the serial interrupt takes precedence over the timer
Rob Landley [Thu, 16 Oct 2008 06:34:10 +0000 (06:34 -0000)]
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.

16 years agobuild system: dpkg needs .gz handling
Denis Vlasenko [Wed, 15 Oct 2008 14:50:14 +0000 (14:50 -0000)]
build system: dpkg needs .gz handling

16 years agosysctl: sysctl -a was still misbehaving, fix it
Denis Vlasenko [Wed, 15 Oct 2008 13:50:24 +0000 (13:50 -0000)]
sysctl: sysctl -a was still misbehaving, fix it

16 years agoreturn accidentally deleted "/* vi: set sw=4 ts=4: */"
Denis Vlasenko [Wed, 15 Oct 2008 09:44:37 +0000 (09:44 -0000)]
return accidentally deleted "/* vi: set sw=4 ts=4: */"

16 years agosysctl: fix bug 3894 _for real_.
Denis Vlasenko [Wed, 15 Oct 2008 09:43:35 +0000 (09:43 -0000)]
sysctl: fix bug 3894 _for real_.

16 years agosysctl: remove trivial comments. no code changes
Denis Vlasenko [Wed, 15 Oct 2008 08:45:54 +0000 (08:45 -0000)]
sysctl: remove trivial comments. no code changes

16 years agosysctl: remove special-cased reporting of EPERM,
Denis Vlasenko [Wed, 15 Oct 2008 08:29:17 +0000 (08:29 -0000)]
sysctl: remove special-cased reporting of EPERM,
 common code path gives nearly the same message. -50 bytes

16 years agosysctl: fix bug 3894 (by Kryzhanovskyy Maksym)
Denis Vlasenko [Wed, 15 Oct 2008 08:22:55 +0000 (08:22 -0000)]
sysctl: fix bug 3894 (by Kryzhanovskyy Maksym)

function                                             old     new   delta
sysctl_dots_to_slashes                                 -      47     +47
sysctl_write_setting                                 310     298     -12
sysctl_read_setting                                  296     284     -12
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 47/-24)             Total: 23 bytes

16 years agovi: fix bizarre formatting. no code changes
Denis Vlasenko [Tue, 14 Oct 2008 12:59:42 +0000 (12:59 -0000)]
vi: fix bizarre formatting. no code changes

16 years agohush: add TODO
Denis Vlasenko [Tue, 14 Oct 2008 12:50:34 +0000 (12:50 -0000)]
hush: add TODO

16 years agohush: next small step towards functions
Denis Vlasenko [Tue, 14 Oct 2008 12:43:13 +0000 (12:43 -0000)]
hush: next small step towards functions

16 years agofix recurring "last_cmd overrun", fix [del] handling in insert mode
Denis Vlasenko [Tue, 14 Oct 2008 12:26:30 +0000 (12:26 -0000)]
fix recurring "last_cmd overrun", fix [del] handling in insert mode

16 years agovi: trivial size optimization -65 bytes
Denis Vlasenko [Tue, 14 Oct 2008 10:34:41 +0000 (10:34 -0000)]
vi: trivial size optimization -65 bytes

16 years agovi: reinstate timeout of 300 ms
Denis Vlasenko [Tue, 14 Oct 2008 10:25:05 +0000 (10:25 -0000)]
vi: reinstate timeout of 300 ms

16 years agovi: add comments to Rob's algorithm of reading and matching ESC sequences
Denis Vlasenko [Tue, 14 Oct 2008 10:09:56 +0000 (10:09 -0000)]
vi: add comments to Rob's algorithm of reading and matching ESC sequences
 (nice work btw!)

16 years agoEscape sequences sent over serial links don't come in as a block, so poll
Rob Landley [Tue, 14 Oct 2008 08:44:09 +0000 (08:44 -0000)]
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.

16 years agoClean up editors/vi.c:readit() so it only does readahead when actually
Rob Landley [Tue, 14 Oct 2008 01:42:33 +0000 (01:42 -0000)]
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.)

16 years agohush: fix NOMMU bug (analogous to preceding commit for MMU)
Denis Vlasenko [Mon, 13 Oct 2008 12:36:05 +0000 (12:36 -0000)]
hush: fix NOMMU bug (analogous to preceding commit for MMU)

16 years agotestcase for the last fix
Denis Vlasenko [Mon, 13 Oct 2008 08:54:42 +0000 (08:54 -0000)]
testcase for the last fix

16 years agohush: fix trashing of environment by local env vars:
Denis Vlasenko [Mon, 13 Oct 2008 08:53:43 +0000 (08:53 -0000)]
hush: fix trashing of environment by local env vars:
  a=a; a=b cmd; - a was unset!
  +57 bytes

function                                             old     new   delta
add_string_to_strings                                  -     110    +110
putenv_all                                             -      27     +27
run_list                                            2086    2111     +25
free_strings                                           -       7      +7
free_pipe                                            210     208      -2
add_malloced_string_to_strings                       110       -    -110
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 1/1 up/down: 169/-112)           Total: 57 bytes

16 years agoblkid: new applet. We almost had everything needed for it already
Denis Vlasenko [Sun, 12 Oct 2008 11:20:08 +0000 (11:20 -0000)]
blkid: new applet. We almost had everything needed for it already

function                                             old     new   delta
display_uuid_cache                                     -      89     +89
blkid_main                                             -       8      +8
applet_names                                        1871    1877      +6
applet_main                                         1140    1144      +4
applet_nameofs                                       570     572      +2
packed_usage                                       24737   24735      -2
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 109/-2)            Total: 107 bytes

16 years agofindfs: fix LUKS and FAT detection routines; do not exit if corrupted
Denis Vlasenko [Sun, 12 Oct 2008 11:17:49 +0000 (11:17 -0000)]
findfs: fix LUKS and FAT detection routines; do not exit if corrupted
 FAT fs makes us try to seek past volume

function                                             old     new   delta
volume_id_get_buffer                                 301     327     +26
volume_id_probe_luks                                  79      82      +3
get_attr_volume_id                                    73      65      -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 29/-8)              Total: 21 bytes

16 years agozcip: code size optimizations, improved help text and comments
Denis Vlasenko [Fri, 10 Oct 2008 11:28:39 +0000 (11:28 -0000)]
zcip: code size optimizations, improved help text and comments

function                                             old     new   delta
packed_usage                                       24750   24787     +37
run                                                  658     655      -3
pick                                                  40      34      -6
arp                                                  186     177      -9
zcip_main                                           1402    1356     -46
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/4 up/down: 37/-64)            Total: -27 bytes

16 years agohush: fix environment and memory leaks, add tests for them
Denis Vlasenko [Thu, 9 Oct 2008 16:29:44 +0000 (16:29 -0000)]
hush: fix environment and memory leaks, add tests for them

function                                             old     new   delta
add_malloced_string_to_strings                         -     110    +110
run_list                                            1999    2086     +87
free_strings_and_unsetenv                              -      87     +87
hush_version_str                                       -      18     +18
pseudo_exec_argv                                     139     146      +7
static.version_str                                    17       -     -17
free_pipe                                            237     210     -27
done_word                                            790     642    -148
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 2/2 up/down: 309/-192)          Total: 117 bytes

16 years agounzip: remove example of a file we now can handle
Denis Vlasenko [Thu, 9 Oct 2008 13:52:30 +0000 (13:52 -0000)]
unzip: remove example of a file we now can handle

16 years agohush: preparatory work for implementing functions
Denis Vlasenko [Thu, 9 Oct 2008 12:58:26 +0000 (12:58 -0000)]
hush: preparatory work for implementing functions

16 years agohush: massive renaming of ill-named structures and fields
Denis Vlasenko [Thu, 9 Oct 2008 12:54:58 +0000 (12:54 -0000)]
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 '('

16 years ago- route metric support (Natanael Copa)
Bernhard Reutner-Fischer [Tue, 7 Oct 2008 17:00:58 +0000 (17:00 -0000)]
- route metric support (Natanael Copa)
  Adds about 75b

16 years ago- add some anchors
Bernhard Reutner-Fischer [Tue, 7 Oct 2008 16:05:03 +0000 (16:05 -0000)]
- add some anchors

16 years agoash: support &> redirection (bashism). ~90 bytes of code
Denis Vlasenko [Tue, 7 Oct 2008 09:18:30 +0000 (09:18 -0000)]
ash: support &> redirection (bashism). ~90 bytes of code

16 years agoash: some beautification work, no code changes
Denis Vlasenko [Mon, 6 Oct 2008 09:51:47 +0000 (09:51 -0000)]
ash: some beautification work, no code changes

16 years agoash: implement ">&file" bashism. ~100 bytes.
Denis Vlasenko [Sun, 5 Oct 2008 18:39:31 +0000 (18:39 -0000)]
ash: implement ">&file" bashism. ~100 bytes.

16 years agowatchdog: WDIOC_SETTIMEOUT accepts seconds, not milliseconds
Denis Vlasenko [Sat, 4 Oct 2008 16:40:17 +0000 (16:40 -0000)]
watchdog: WDIOC_SETTIMEOUT accepts seconds, not milliseconds
klogd: handle many lines at once, by Steve Bennett (steveb AT workware.net.au)

16 years ago- wrap overlong line
Bernhard Reutner-Fischer [Thu, 2 Oct 2008 13:30:31 +0000 (13:30 -0000)]
- wrap overlong line

16 years agogrep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case
Denis Vlasenko [Tue, 30 Sep 2008 22:37:29 +0000 (22:37 -0000)]
grep: fix 'echo aaa | grep -o a' + ENABLE_EXTRA_COMPAT case
 by Natanael Copa

16 years agoinetd: use config parser. by Vladimir
Denis Vlasenko [Tue, 30 Sep 2008 01:22:25 +0000 (01:22 -0000)]
inetd: use config parser. by Vladimir

function                                             old     new   delta
reread_config_file                                  1092    2154   +1062
next_line                                             98      33     -65
next_word                                            197      57    -140
parse_one_line                                      1202       -   -1202
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 1062/-1407)       Total: -345 bytes

16 years agoroute: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)
Denis Vlasenko [Sun, 28 Sep 2008 23:39:18 +0000 (23:39 -0000)]
route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)

16 years agowebsite: announce 1.12.1 and 1.11.3
Denis Vlasenko [Sun, 28 Sep 2008 18:33:02 +0000 (18:33 -0000)]
website: announce 1.12.1 and 1.11.3

16 years agoscripts/randomtest[.loop]: add scripts for randomconfig testing
Denis Vlasenko [Sun, 28 Sep 2008 17:19:02 +0000 (17:19 -0000)]
scripts/randomtest[.loop]: add scripts for randomconfig testing

16 years agoshowkey: suppress gcc warning
Denis Vlasenko [Sun, 28 Sep 2008 16:44:28 +0000 (16:44 -0000)]
showkey: suppress gcc warning

16 years agosendmail: update by Vladimir
Denis Vlasenko [Sun, 28 Sep 2008 13:50:57 +0000 (13:50 -0000)]
sendmail: update by Vladimir

16 years agoremove redundant NULL check
Denis Vlasenko [Sat, 27 Sep 2008 23:39:55 +0000 (23:39 -0000)]
remove redundant NULL check

16 years agomore style fixes, no code changes
Denis Vlasenko [Sat, 27 Sep 2008 14:06:06 +0000 (14:06 -0000)]
more style fixes, no code changes

16 years agostyle fixes, no code changes
Denis Vlasenko [Sat, 27 Sep 2008 14:03:25 +0000 (14:03 -0000)]
style fixes, no code changes

16 years agosendmail: compat update by Vladimir
Denis Vlasenko [Sat, 27 Sep 2008 14:01:22 +0000 (14:01 -0000)]
sendmail: compat update by Vladimir

function                                             old     new   delta
sendgetmail_main                                    1889    2091    +202
putchar_unlocked                                       -      43     +43
putchar                                                -      43     +43
packed_usage                                       24868   24910     +42
smtp_checkp                                          102     111      +9
uuencode                                             235     227      -8
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8)            Total: 331 bytes

16 years agolineedit: fix problems with empty commands in history
Denis Vlasenko [Sat, 27 Sep 2008 01:28:56 +0000 (01:28 -0000)]
lineedit: fix problems with empty commands in history

16 years agostart_stop_daemon: accept (and ignore) -R <param>
Denis Vlasenko [Sat, 27 Sep 2008 01:05:13 +0000 (01:05 -0000)]
start_stop_daemon: accept (and ignore) -R <param>

16 years agoudhcp: add inline docs; small code shrink
Denis Vlasenko [Fri, 26 Sep 2008 23:45:20 +0000 (23:45 -0000)]
udhcp: add inline docs; small code shrink

function                                             old     new   delta
send_packet                                          103      87     -16
udhcpc_main                                         2359    2323     -36

16 years agoudhcpc: fixlet for previous commit
Denis Vlasenko [Fri, 26 Sep 2008 22:21:03 +0000 (22:21 -0000)]
udhcpc: fixlet for previous commit

16 years agoudhcp: added some FIXMEs; code shrink. -49 bytes
Denis Vlasenko [Fri, 26 Sep 2008 16:29:12 +0000 (16:29 -0000)]
udhcp: added some FIXMEs; code shrink. -49 bytes

16 years agoMarkus Heidelberg writes:
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 15:14:56 +0000 (15:14 -0000)]
Markus Heidelberg writes:
* document --nicelevel in Config.in
* usage: --verbose is the fancy option, not --quiet

16 years ago- add less -I to be able to search case-insensitively
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 14:10:17 +0000 (14:10 -0000)]
- 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

16 years ago- commentary typo fix
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 11:23:22 +0000 (11:23 -0000)]
- commentary typo fix

16 years agonmeter: 4k buffers are too small for /proc files,
Denis Vlasenko [Fri, 26 Sep 2008 11:12:09 +0000 (11:12 -0000)]
nmeter: 4k buffers are too small for /proc files,
 make them dynamically sized with 16k upper limit. +75 bytes

16 years agolibpwdgrp: make it coexist with <pwd.h>, <grp.h> and <shadow.h>.
Denis Vlasenko [Fri, 26 Sep 2008 10:35:55 +0000 (10:35 -0000)]
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).

16 years agodhcp: add FAST_FUNC as appropriate. -160 bytes.
Denis Vlasenko [Fri, 26 Sep 2008 09:34:59 +0000 (09:34 -0000)]
dhcp: add FAST_FUNC as appropriate. -160 bytes.

16 years agodhcpc: treat "discover...select...discover..." loop the same way
Denis Vlasenko [Fri, 26 Sep 2008 09:34:15 +0000 (09:34 -0000)]
dhcpc: treat "discover...select...discover..." loop the same way
 as "discover...discover...discover..."

16 years agofix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/
Denis Vlasenko [Thu, 25 Sep 2008 21:06:24 +0000 (21:06 -0000)]
fix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/
 by Markus Heidelberg (markus.heidelberg AT web.de)

16 years ago- add dpkg -l <packagepattern> (Peter Korsgaard)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:18:49 +0000 (12:18 -0000)]
- add dpkg -l <packagepattern> (Peter Korsgaard)

16 years ago- update my name. No obj-code changes ;)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:13:34 +0000 (12:13 -0000)]
- update my name. No obj-code changes ;)

16 years ago- improve helptext
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 11:50:13 +0000 (11:50 -0000)]
- improve helptext

16 years agotop: fix "top -d 1" (bug 5144)
Denis Vlasenko [Thu, 25 Sep 2008 11:42:10 +0000 (11:42 -0000)]
top: fix "top -d 1" (bug 5144)

16 years agotop: don't lie in help screen about "-d 1" being valid
Denis Vlasenko [Thu, 25 Sep 2008 11:17:10 +0000 (11:17 -0000)]
top: don't lie in help screen about "-d 1" being valid

16 years agotop: fixes to prev commit: '1' should toggle SMP view too;
Denis Vlasenko [Thu, 25 Sep 2008 11:11:37 +0000 (11:11 -0000)]
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

16 years ago- fix compilation on OSF/1
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 10:55:05 +0000 (10:55 -0000)]
- fix compilation on OSF/1

16 years agotop: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)
Denis Vlasenko [Thu, 25 Sep 2008 10:48:06 +0000 (10:48 -0000)]
top: optional SMP support by Vineet Gupta (vineetg76 AT gmail.com)

16 years agodf: unsigned long needs %lu
Denis Vlasenko [Thu, 25 Sep 2008 10:41:15 +0000 (10:41 -0000)]
df: unsigned long needs %lu

16 years agowhitespace fixes
Denis Vlasenko [Thu, 25 Sep 2008 10:39:10 +0000 (10:39 -0000)]
whitespace fixes

16 years agoreturn setgroups() decl to libbb, it is needed if we use libpwdgrp.
Denis Vlasenko [Thu, 25 Sep 2008 10:20:46 +0000 (10:20 -0000)]
return setgroups() decl to libbb, it is needed if we use libpwdgrp.

16 years agowe dont provide setgroups() replacement, so dont provide the prototype either .....
Mike Frysinger [Thu, 25 Sep 2008 00:41:49 +0000 (00:41 -0000)]
we dont provide setgroups() replacement, so dont provide the prototype either ... especially since it conflicts on some systems (like Darwin)

16 years agorunsvdir: conditionalize "log in argiment" (mis)feature. By Vladimir.
Denis Vlasenko [Mon, 22 Sep 2008 21:34:24 +0000 (21:34 -0000)]
runsvdir: conditionalize "log in argiment" (mis)feature. By Vladimir.
 with:
runsv                                                139     141      +2
runsvdir_main                                       1583    1513     -70

 without:
warn2_cannot                                          14      27     +13
runsv                                                139     141      +2
warnx                                                 28      16     -12
warn3x                                                23       -     -23
runsvdir_main                                       1583    1125    -458

16 years agocrontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
Denis Vlasenko [Sun, 21 Sep 2008 15:29:29 +0000 (15:29 -0000)]
crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
vi: deal with EOF/error on stdin and with input NULs

function                                             old     new   delta
crontab_main                                         623     642     +19
edit_file                                            901     906      +5
readit                                               331     318     -13

16 years agounzip: handle "central directory"
Denis Vlasenko [Sun, 21 Sep 2008 01:01:46 +0000 (01:01 -0000)]
unzip: handle "central directory"
 needed for OpenOffice, gmail attachment .zips etc
 conditional on CONFIG_DESKTOP

function                                             old     new   delta
unzip_main                                          1643    1939    +296
find_cds_offset                                        -     173    +173
unzip_skip                                            11      16      +5
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 474/0)             Total: 474 bytes

16 years agosetfont: use ioctl(KDFONTOP), it honours -C tty
Denis Vlasenko [Sat, 20 Sep 2008 18:14:13 +0000 (18:14 -0000)]
setfont: use ioctl(KDFONTOP), it honours -C tty

16 years agoinit: set stderr to NONBLOCK
Denis Vlasenko [Sat, 20 Sep 2008 16:28:59 +0000 (16:28 -0000)]
init: set stderr to NONBLOCK
*: s/setenv(a,b,1)/xsetenv(a,b)/

function                                             old     new   delta
init_main                                            856     895     +39
message                                              146     144      -2
crond_main                                          1418    1416      -2
run                                                  661     658      -3
zcip_main                                           1409    1403      -6
edit_file                                            910     901      -9
environment                                           20       -     -20

16 years agowebpage: add "RD129 embedded board from ELPA" to product page
Denis Vlasenko [Sat, 20 Sep 2008 15:16:50 +0000 (15:16 -0000)]
webpage: add "RD129 embedded board from ELPA" to product page
 split it into "projects" (software) and "products" (hardware) parts

16 years agowebsite: add a product using bbox - EMTEC MovieCube R700
Denis Vlasenko [Sat, 20 Sep 2008 13:28:45 +0000 (13:28 -0000)]
website: add a product using bbox - EMTEC MovieCube R700

16 years agolibbb: document that we maybe will want to understand \e someday
Denis Vlasenko [Fri, 19 Sep 2008 23:43:59 +0000 (23:43 -0000)]
libbb: document that we maybe will want to understand \e someday
 (no code changes)

16 years agogrep: yet another fixlet for EXTRA_COMPAT
Denis Vlasenko [Fri, 19 Sep 2008 21:32:51 +0000 (21:32 -0000)]
grep: yet another fixlet for EXTRA_COMPAT

16 years agogrep: fix EXTRA_COMPAT grep to honor -E and -i
Denis Vlasenko [Fri, 19 Sep 2008 21:29:21 +0000 (21:29 -0000)]
grep: fix EXTRA_COMPAT grep to honor -E and -i

16 years agosetfont: small fixes from Vladimir
Denis Vlasenko [Thu, 18 Sep 2008 01:01:02 +0000 (01:01 -0000)]
setfont: small fixes from Vladimir

16 years agoid: fix "id <user>" case. Requires getgrouplist().
Denis Vlasenko [Thu, 18 Sep 2008 00:56:24 +0000 (00:56 -0000)]
id: fix "id <user>" case. Requires getgrouplist().

function                                             old     new   delta
getgrouplist_internal                                  -     200    +200
id_main                                              462     539     +77
bb_internal_getgrouplist                               -      67     +67
bb__parsespent                                       119     117      -2
bb_internal_initgroups                               213      58    -155
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/2 up/down: 344/-157)          Total: 187 bytes