aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* id: fix inverted if (!ENABLE_DESKTOP)Denys Vlasenko2011-01-261-3/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: do clear CLOCAL and CRTSCTS unless told otherwiseDenys Vlasenko2011-01-261-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: do not clear all c_cflag's (we were clearing baud bits!)Denys Vlasenko2011-01-261-12/+28
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: wait up to 5 seconds for the output buffer to drainPeter Korsgaard2011-01-261-23/+33
| | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: cosmetic fix to settings table; no code changesDenys Vlasenko2011-01-261-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: document bits we don't set - maybe we should set some of them?Denys Vlasenko2011-01-261-7/+59
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: add ECHOE explanationDenys Vlasenko2011-01-261-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: explain every bit in termios; remove redundant stuff in termios_finalDenys Vlasenko2011-01-262-36/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable length applet. ${#var} and echo -n "$var" | wc -c are portable ↵Denys Vlasenko2011-01-267-10/+7
| | | | | | equivalents Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: return 1 when skipping directories with -r, but without -NAlexander Shishkin2011-01-261-3/+6
| | | | | | | | Diff in diffutils will return 1 in case -r option is specified without -N something exists only in one of the directories. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move utmp.h include to libbb.hDenys Vlasenko2011-01-2516-38/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: replace %MEM with %VSZ in header textDenys Vlasenko2011-01-251-7/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add ENABLE_FEATURE_SYSTEMD and use it in syslogdDavide Cavalca2011-01-253-0/+73
| | | | | Signed-off-by: Davide Cavalca <davide@geexbox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: document a debugging scriptDenys Vlasenko2011-01-251-2/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nicer looking ifdef in libbb/makedev.cDenys Vlasenko2011-01-242-10/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: flush _only_ input after switching to the next baud rateDenys Vlasenko2011-01-241-1/+1
| | | | | | | It was originally like this, but at some point TCIFLUSH was inadvertently changed to TCIOFLUSH. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: enable line discipline display and change code if __linix__Denys Vlasenko2011-01-241-5/+6
| | | | | | | | | | | function old new delta stty_main 1242 1276 +34 do_display 419 431 +12 display_speed 90 81 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 46/-9) Total: 37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: simplify macros; improve VSWTC[H] compatDenys Vlasenko2011-01-241-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compat for match_fstypeChris Rees2011-01-241-1/+2
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compat for makedevChris Rees2011-01-241-2/+8
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compatChris Rees2011-01-242-6/+12
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compatChris Rees2011-01-243-1/+13
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: make swtch and iutf8 visible/settableDenys Vlasenko2011-01-241-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: more simplifications; explain how we treat parity nowDenys Vlasenko2011-01-241-95/+93
| | | | | | | function old new delta getty_main 1471 1434 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: simplify code by going to more straignforward G trickDenys Vlasenko2011-01-241-275/+121
| | | | | | | function old new delta getty_main 1615 1475 -140 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make ndelay_no/off a bit more clever. +14 bytesDenys Vlasenko2011-01-242-9/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: add sleep before initial tcdrain; reduce another sleep from 1 to 0.1sDenys Vlasenko2011-01-241-9/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: use cfsetspeed to save some bytes; cosmetic fixesDenys Vlasenko2011-01-241-30/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: implement --systzDavide Cavalca2011-01-222-24/+59
| | | | | | | | | | | | function old new delta hwclock_main 324 434 +110 packed_usage 28220 28259 +39 static.hwclock_longopts 53 60 +7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 156/0) Total: 156 bytes Signed-off-by: Davide Cavalca <davide@geexbox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wc: fix swapped -c and -mDenys Vlasenko2011-01-221-8/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pltaform.h: move include of stdint.h before uint16_t is usedDenys Vlasenko2011-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: more correct check for O_RDWRDenys Vlasenko2011-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: comment out parity detection code; improve usage textDenys Vlasenko2011-01-221-40/+72
| | | | | | | | | | | function old new delta packed_usage 28155 28191 +36 static.erase 12 - -12 getty_main 1847 1621 -226 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 36/-238) Total: -202 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svlogd: extend usage text. +70 bytesDenys Vlasenko2011-01-222-7/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2011-01-214-56/+69
|\
| * eliminate aliasing warnings in traceroute.c and udhcp/socket.cDenys Vlasenko2011-01-202-12/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * eliminate aliasing warning in networking/route.cDenys Vlasenko2011-01-202-36/+41
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ifplugd: eliminate aliasing warningsDenys Vlasenko2011-01-201-10/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | fix compile error on non-x86 architecturesDenys Vlasenko2011-01-211-3/+4
|/ | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sighandler_t definition for BSDChris Rees2011-01-201-0/+6
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: improve prompt in nested {}s, remove unused in_str->promptme memberDenys Vlasenko2011-01-181-21/+11
| | | | | | | | | | | | | function old new delta setup_string_in_str 29 38 +9 parse_and_run_stream 79 88 +9 setup_file_in_str 32 39 +7 parse_stream 2430 2422 -8 file_get 262 235 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 25/-35) Total: -10 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix "cmd & <newline>" problemDenys Vlasenko2011-01-181-5/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-1841-409/+409
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable automatic selection of FEATURE_SUID; improve its help textDenys Vlasenko2011-01-185-11/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* insmod: check for module read errorsDenys Vlasenko2011-01-172-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: better comment in parse_dateDenys Vlasenko2011-01-171-1/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move passwd, shadow, group and gshadow path definitions to libbb.hTito Ragusa2011-01-163-19/+17
| | | | | | | ...and define them only if the used libc doesn't. Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few aliasing warningsDenys Vlasenko2011-01-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few aliasing warningsDenys Vlasenko2011-01-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add keyboard commands to --helpDenys Vlasenko2011-01-132-8/+29
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>