aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* regularize str -> num convertorsDenis Vlasenko2006-11-254-237/+267
|
* small optimizationDenis Vlasenko2006-11-241-4/+3
|
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-241-8/+7
| | | | do not process list of files to tar up in reverse order.
* tar: sanitize option handlingDenis Vlasenko2006-11-244-90/+88
|
* tar: fix and sanitize handling of long filenames/linknamesDenis Vlasenko2006-11-241-0/+1
| | | | | | | | | (GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame
* hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko2006-11-243-5/+3
|
* svn add makedev.c. Forgot as usual... :(Denis Vlasenko2006-11-241-0/+19
|
* tar: small fixes:Denis Vlasenko2006-11-241-15/+19
| | | | | * size-optimize mapping code * kill double close
* tar: cache [ug]id->username/groupname mappings. Cuts down amountDenis Vlasenko2006-11-241-18/+48
| | | | | of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!)
* tar: cry murder and bail out if file shrinks under us while we tar it upDenis Vlasenko2006-11-241-2/+1
|
* glibc makedev() is a large inline. Save 700+ bytes by wrapping itDenis Vlasenko2006-11-241-32/+90
| | | | into a function.
* tar:Denis Vlasenko2006-11-241-1/+0
| | | | | | | | | * unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-2/+11
| | | | | use them where appropriate. 200 bytes saved
* fix double mergeDenis Vlasenko2006-11-221-76/+0
|
* telnetd: move generic stuff into libbb. It will make it easyDenis Vlasenko2006-11-221-0/+152
| | | | to make other server applets IPv6-aware too.
* telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.Denis Vlasenko2006-11-221-0/+12
| | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
* xgethostbyname: more readableDenis Vlasenko2006-11-211-5/+2
|
* bb_INET_default[] is really just a const "default",Denis Vlasenko2006-11-212-19/+21
| | | | nothing INET-specific
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-184-13/+13
|
* svlogd: new applet. +9k. Still too big, but it was 12k yesterday.Denis Vlasenko2006-11-161-0/+10
|
* wget: fix error message.Denis Vlasenko2006-11-101-4/+1
| | | | | | | | | | | | | | | Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :)
* rename: compare_string_array -> index_in_str_arrayDenis Vlasenko2006-11-051-4/+20
| | | | | introduce index_in_substr_array and use it in iproute2
* smart_ulltoa5: make available in libbbDenis Vlasenko2006-11-051-6/+54
|
* replace /proc scanning code by more versatile one.Denis Vlasenko2006-11-052-93/+174
| | | | | | | Use it where appropriate. Stop scanning /etc/passwd *for every process*!!! (uid->username) top: reduce memory usage - we won't save unneeded fields from /proc info anymore. Downside: ~+250 bytes of code
* top: improve CPU% calculationDenis Vlasenko2006-11-051-7/+0
| | | | style fixes
* Unneeded code removed, usused field "unsigned pscpu" removedDenis Vlasenko2006-11-011-4/+4
|
* PID should be stored in pid_t, not int or long.Denis Vlasenko2006-11-012-15/+13
| | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead.
* #if CONFIG_xxx -> #if ENABLE_xxxDenis Vlasenko2006-11-011-11/+3
|
* reads: fix bug 1078Denis Vlasenko2006-10-311-1/+2
|
* login: re-enable Ctrl-^C before execing shell.Denis Vlasenko2006-10-312-77/+55
|
* dd: fix bugs: always assumed conv=sync, died on write errorsDenis Vlasenko2006-10-311-1/+1
| | | | w/o perror and statictics. Several small improvements
* find: a lot more compliant to 'standard' findDenis Vlasenko2006-10-291-1/+8
| | | | | (we were not respecting order of actions!). Add -o and -a handling.
* ls: cleanup part 1Denis Vlasenko2006-10-281-1/+1
|
* recursive_action: add depth paramDenis Vlasenko2006-10-271-16/+24
| | | | chmod: match coreutils versus following links
* recursive_action: preparatory changes. will introduce "int level".Denis Vlasenko2006-10-271-50/+48
|
* modprobe: reformat to match bbox styleDenis Vlasenko2006-10-271-5/+2
|
* reshuffle libbb.h contents so that order of decls makes senseDenis Vlasenko2006-10-271-4/+5
| | | | Found bad typo in largefile support :)
* get_terminal_width_height: do not pass insanely large valuesDenis Vlasenko2006-10-271-12/+23
|
* last nail into error_msg() (de)capitalizationDenis Vlasenko2006-10-271-4/+4
|
* As usual, I forgot "svn del"...Denis Vlasenko2006-10-271-96/+0
|
* ...and yet another small fix. Ouch...Denis Vlasenko2006-10-261-1/+1
|
* rename functions to more understandable namesDenis Vlasenko2006-10-266-21/+15
|
* remove bb_printf and the likeDenis Vlasenko2006-10-264-9/+6
|
* xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko2006-10-261-6/+12
|
* wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko2006-10-252-20/+34
| | | | | So fix wget & getopt32. Also fix multiple --header options order: add and use rev_llist.
* cp: add support for -s, -l. Fix free(nonmalloc) bug.Denis Vlasenko2006-10-211-84/+126
| | | | | Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work.
* readlink: do not emit errors if file doesnt not exist / not a linkDenis Vlasenko2006-10-201-0/+9
| | | | getopt32: add =N support
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-203-4/+4
|
* nc: fix 2 my own buglets, and few someone else's too.Denis Vlasenko2006-10-161-1/+1
|
* grep: add support for -rDenis Vlasenko2006-10-141-7/+7
|