Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-30 | passwd: rework: | Denis Vlasenko | |
* do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes | |||
2006-11-29 | cut 0.5k off mkfs.minix | Denis Vlasenko | |
assorted strtoul fixes (that's what brought me into minix)... | |||
2006-11-28 | fix bug in new str -> num convertors | Denis Vlasenko | |
2006-11-27 | erase_mtab: do not limit ourself to 40 mtab entries | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 2 | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 1 | Denis Vlasenko | |
2006-11-27 | svn add bb_strtonum.c :( | Denis Vlasenko | |
2006-11-27 | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | |
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | |||
2006-11-26 | Closing bug 730. libbb run_parts is using scandir (a GNUism), | Denis Vlasenko | |
and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...). | |||
2006-11-26 | small fixes: | Denis Vlasenko | |
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. | |||
2006-11-25 | tee: fix bug: argv[-1] is a no-no! | Denis Vlasenko | |
bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error" | |||
2006-11-25 | small improvements in str -> num convertors | Denis Vlasenko | |
2006-11-25 | regularize str -> num convertors | Denis Vlasenko | |
2006-11-24 | small optimization | Denis Vlasenko | |
2006-11-24 | tar: fix multiple -t and/or -v options handling. | Denis Vlasenko | |
do not process list of files to tar up in reverse order. | |||
2006-11-24 | tar: sanitize option handling | Denis Vlasenko | |
2006-11-24 | tar: fix and sanitize handling of long filenames/linknames | Denis Vlasenko | |
(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 | |||
2006-11-24 | hunt down improper include <>, make mkswap output 4Gb+ friendly | Denis Vlasenko | |
2006-11-24 | svn add makedev.c. Forgot as usual... :( | Denis Vlasenko | |
2006-11-24 | tar: small fixes: | Denis Vlasenko | |
* size-optimize mapping code * kill double close | |||
2006-11-24 | tar: cache [ug]id->username/groupname mappings. Cuts down amount | Denis Vlasenko | |
of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) | |||
2006-11-24 | tar: cry murder and bail out if file shrinks under us while we tar it up | Denis Vlasenko | |
2006-11-24 | glibc makedev() is a large inline. Save 700+ bytes by wrapping it | Denis Vlasenko | |
into a function. | |||
2006-11-24 | tar: | Denis Vlasenko | |
* 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 | |||
2006-11-22 | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd), | Denis Vlasenko | |
use them where appropriate. 200 bytes saved | |||
2006-11-22 | fix double merge | Denis Vlasenko | |
2006-11-22 | telnetd: move generic stuff into libbb. It will make it easy | Denis Vlasenko | |
to make other server applets IPv6-aware too. | |||
2006-11-22 | telnetd: we were having telnetd with is ONLY inetd or ONLY standalone. | Denis Vlasenko | |
What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. | |||
2006-11-21 | xgethostbyname: more readable | Denis Vlasenko | |
2006-11-21 | bb_INET_default[] is really just a const "default", | Denis Vlasenko | |
nothing INET-specific | |||
2006-11-18 | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | |
2006-11-16 | svlogd: new applet. +9k. Still too big, but it was 12k yesterday. | Denis Vlasenko | |
2006-11-10 | wget: fix error message. | Denis Vlasenko | |
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 :) | |||
2006-11-05 | rename: compare_string_array -> index_in_str_array | Denis Vlasenko | |
introduce index_in_substr_array and use it in iproute2 | |||
2006-11-05 | smart_ulltoa5: make available in libbb | Denis Vlasenko | |
2006-11-05 | replace /proc scanning code by more versatile one. | Denis Vlasenko | |
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 | |||
2006-11-05 | top: improve CPU% calculation | Denis Vlasenko | |
style fixes | |||
2006-11-01 | Unneeded code removed, usused field "unsigned pscpu" removed | Denis Vlasenko | |
2006-11-01 | PID should be stored in pid_t, not int or long. | Denis Vlasenko | |
find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. | |||
2006-11-01 | #if CONFIG_xxx -> #if ENABLE_xxx | Denis Vlasenko | |
2006-10-31 | reads: fix bug 1078 | Denis Vlasenko | |
2006-10-31 | login: re-enable Ctrl-^C before execing shell. | Denis Vlasenko | |
2006-10-31 | dd: fix bugs: always assumed conv=sync, died on write errors | Denis Vlasenko | |
w/o perror and statictics. Several small improvements | |||
2006-10-29 | find: a lot more compliant to 'standard' find | Denis Vlasenko | |
(we were not respecting order of actions!). Add -o and -a handling. | |||
2006-10-28 | ls: cleanup part 1 | Denis Vlasenko | |
2006-10-27 | recursive_action: add depth param | Denis Vlasenko | |
chmod: match coreutils versus following links | |||
2006-10-27 | recursive_action: preparatory changes. will introduce "int level". | Denis Vlasenko | |
2006-10-27 | modprobe: reformat to match bbox style | Denis Vlasenko | |
2006-10-27 | reshuffle libbb.h contents so that order of decls makes sense | Denis Vlasenko | |
Found bad typo in largefile support :) | |||
2006-10-27 | get_terminal_width_height: do not pass insanely large values | Denis Vlasenko | |