aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-18- move the smallint that is platform dependant to it's proper placeBernhard Reutner-Fischer
2007-01-18Use char for smallint on CRIS as well.Peter Kjellerstedt
2007-01-18- reinstate paranoia check in wrapf().Bernhard Reutner-Fischer
2007-01-18fix subtle bug inherited from dashDenis Vlasenko
2007-01-18stop using global variable needlesslyDenis Vlasenko
2007-01-18smallint can be a char for amd64 tooDenis Vlasenko
2007-01-17sed,get_line_from_file: improve commentsDenis Vlasenko
2007-01-17- stty's visible() function and catv's guts are identical. Merge them intoBernhard Reutner-Fischer
an appropriate libbb function.
2007-01-17- remove superfluous define that expanded to "!strcmp"Bernhard Reutner-Fischer
- remove some dead code
2007-01-17- reuse return code of vsnprintf to avoid pulling in strlenBernhard Reutner-Fischer
2007-01-17- merge display_changed() and display_all()Bernhard Reutner-Fischer
This one is a bit risky but did work for me in cursory testing..
2007-01-17- peruse get_terminal_width_height and remove legacy code for ancientBernhard Reutner-Fischer
slowaris versions.
2007-01-17- rewrite find_param to use index_in_str_arrayBernhard Reutner-Fischer
2007-01-17- manually inline tty_value_to_baud and remove string_to_baud_or_dieBernhard Reutner-Fischer
(cleanup)
2007-01-17- constify some read-only members and remove superfluous castsBernhard Reutner-Fischer
(cleanup)
2007-01-17- reuse option_mask32 for state-handling in mainBernhard Reutner-Fischer
- improve check for errors from fcntl
2007-01-17- replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer
2007-01-14httpd: use fd#1 in inetd modeDenis Vlasenko
inetd: micro style fix
2007-01-14inetd: preparatory patch, no code changesDenis Vlasenko
2007-01-14Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
2007-01-14small size optimizationDenis Vlasenko
2007-01-14isrv.h: add copyright infoDenis Vlasenko
2007-01-14I forgot "svn add" AGAIN! :(Denis Vlasenko
2007-01-14fakeidentd: avoid extra fcntl callsDenis Vlasenko
2007-01-14fakeidentd: fix daemon mode (was thinking that it is inDenis Vlasenko
inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places.
2007-01-14inetd: open log after daemonizationDenis Vlasenko
2007-01-14By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko
Since this is also needed for other applets like telnetd, introduce generic driver for such things. It even supports inetd-wait ('linger') mode, when inetd hands out listen socket to child and waits to it to die, instead of handing out accepted socket and continuing listening itself (nowait mode). Code growth ~200 bytes. NB: our inetd doesn't support wait mode yet (or mabe it is buggy).
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-13small fixes to ipv6 infrastructureDenis Vlasenko
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-12stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -Denis Vlasenko
stty -echo didn't work. Introduced by me :(
2007-01-12stty: rearrange functions, avoiding the need in forward declarations.Denis Vlasenko
No other code chages.
2007-01-12undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsDenis Vlasenko
are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs.
2007-01-12next part of ipv6-ization. mostly netcat.Denis Vlasenko
2007-01-12next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko
but entire applet can be orders of magnitude smaller if written as an inetd service. So did that (#ifdef'ed out entire old version). inetd version is less than 10% of old one! function old new delta packed_usage 22083 22105 +22 nobodystr 4 - -4 bind_ip_address 4 - -4 ident_substr 20 - -20 chmatch 22 - -22 movefd 25 - -25 skipchars 49 - -49 handlexitsigs 51 - -51 replyError 70 - -70 .rodata 158120 158024 -96 deleteConn 102 - -102 G 524 388 -136 conns 560 - -560 fakeidentd_main 1457 143 -1314 ------------------------------------------------------------------------------ (add/remove: 0/10 grow/shrink: 1/3 up/down: 22/-2453) Total: -2431 bytes
2007-01-11fix my own breakageDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-11fix verbose output; remove commented-out includes.Denis Vlasenko
2007-01-11ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko
unknown number likely introduced...
2007-01-10code shrinkage by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-10missed a few #undefs (no real impact I think)Denis Vlasenko
2007-01-10fix bug 1146 (gunzip breakage introduced by me --vda)Denis Vlasenko
2007-01-10a bit more IPv6-ization workDenis Vlasenko
syslogd: converted to use it (in -R host:port)
2007-01-10Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko
Convert telnet to it. Now this works: telnetd -b [::1]:1234 - bind to IPv6 non-standard port telnet [::1]:1234 - connect to IPv6 non-standard port telnet ::1 1234 - same This does not require ANY ipv6-specific code in applets (no struct sockaddr_in6. In fact, no sockaddr_in, too).
2007-01-10execute "safe applets" exev if not standalone shellDenis Vlasenko
(patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
2007-01-09Fix typo in usage text by shortening itDenis Vlasenko
2007-01-09Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2007-01-09small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko