aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fsck: stop using strtokvda2007-01-191-73/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17371 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fsck: move functions around so that related ones are nearbyvda2007-01-191-170/+185
| | | | | | | no actual code changes git-svn-id: svn://busybox.net/trunk/busybox@17370 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fsck: small optimizationvda2007-01-191-42/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17369 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix potentially misaligned 32-bit accessesvda2007-01-181-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move the smallint that is platform dependant to it's proper placealdot2007-01-182-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17363 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use char for smallint on CRIS as well.pkj2007-01-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17362 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reinstate paranoia check in wrapf().aldot2007-01-181-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix subtle bug inherited from dashvda2007-01-181-4/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stop using global variable needlesslyvda2007-01-181-28/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17359 69ca8d6d-28ef-0310-b511-8ec308f3f277
* smallint can be a char for amd64 toovda2007-01-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed,get_line_from_file: improve commentsvda2007-01-172-19/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - stty's visible() function and catv's guts are identical. Merge them intoaldot2007-01-171-1/+5
| | | | | | | an appropriate libbb function. git-svn-id: svn://busybox.net/trunk/busybox@17356 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous define that expanded to "!strcmp"aldot2007-01-171-22/+3
| | | | | | | - remove some dead code git-svn-id: svn://busybox.net/trunk/busybox@17355 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse return code of vsnprintf to avoid pulling in strlenaldot2007-01-171-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge display_changed() and display_all()aldot2007-01-171-69/+22
| | | | | | | This one is a bit risky but did work for me in cursory testing.. git-svn-id: svn://busybox.net/trunk/busybox@17353 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - peruse get_terminal_width_height and remove legacy code for ancientaldot2007-01-171-69/+10
| | | | | | | slowaris versions. git-svn-id: svn://busybox.net/trunk/busybox@17352 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rewrite find_param to use index_in_str_arrayaldot2007-01-171-1/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - manually inline tty_value_to_baud and remove string_to_baud_or_diealdot2007-01-171-10/+5
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - constify some read-only members and remove superfluous castsaldot2007-01-171-12/+11
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17349 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse option_mask32 for state-handling in mainaldot2007-01-171-36/+33
| | | | | | | - improve check for errors from fcntl git-svn-id: svn://busybox.net/trunk/busybox@17348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - replace some occurances of "kernel" with busyboxaldot2007-01-174-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: use fd#1 in inetd modevda2007-01-142-5/+11
| | | | | | | inetd: micro style fix git-svn-id: svn://busybox.net/trunk/busybox@17304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: preparatory patch, no code changesvda2007-01-141-63/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17303 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdiovda2007-01-144-11/+16
| | | | | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. git-svn-id: svn://busybox.net/trunk/busybox@17302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size optimizationvda2007-01-141-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* isrv.h: add copyright infovda2007-01-141-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17300 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I forgot "svn add" AGAIN! :(vda2007-01-141-0/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17299 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: avoid extra fcntl callsvda2007-01-141-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: fix daemon mode (was thinking that it is invda2007-01-142-23/+27
| | | | | | | | inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places. git-svn-id: svn://busybox.net/trunk/busybox@17297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: open log after daemonizationvda2007-01-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* By popular request reinstate fakeidentd's standalone mode.vda2007-01-147-24/+523
| | | | | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@17275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixes (leading spaces to tab)vda2007-01-1311-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes to ipv6 infrastructurevda2007-01-131-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-128-23/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -vda2007-01-121-0/+3
| | | | | | | stty -echo didn't work. Introduced by me :( git-svn-id: svn://busybox.net/trunk/busybox@17262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: rearrange functions, avoiding the need in forward declarations.vda2007-01-121-386/+374
| | | | | | | No other code chages. git-svn-id: svn://busybox.net/trunk/busybox@17261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsvda2007-01-121-9/+7
| | | | | | | are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs. git-svn-id: svn://busybox.net/trunk/busybox@17260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. mostly netcat.vda2007-01-126-77/+95
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. dnsd code is "interesting"...vda2007-01-123-108/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization is here: wget & httpdvda2007-01-128-123/+145
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeinetd: attempted ipv6-ization (and it's done)vda2007-01-113-190/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@17256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix my own breakagevda2007-01-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-1148-310/+310
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix verbose output; remove commented-out includes.vda2007-01-114-19/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipv6-ization efforts continue. Few bugs are found,vda2007-01-115-200/+191
| | | | | | | unknown number likely introduced... git-svn-id: svn://busybox.net/trunk/busybox@17250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* code shrinkage by Bernhard Fischer <rep.nop@aon.at>vda2007-01-101-49/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* missed a few #undefs (no real impact I think)vda2007-01-101-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17231 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bug 1146 (gunzip breakage introduced by me --vda)vda2007-01-101-17/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more IPv6-ization workvda2007-01-103-41/+38
| | | | | | | syslogd: converted to use it (in -R host:port) git-svn-id: svn://busybox.net/trunk/busybox@17229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve generic ipv4+ipv6 support in libbb.vda2007-01-104-116/+172
| | | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@17221 69ca8d6d-28ef-0310-b511-8ec308f3f277