aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* svn add bb_strtonum.c :(vda2006-11-271-0/+147
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Provide our own isdigit macro. saves more than 400 bytes.vda2006-11-275-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* safe_strtoXX interface proved to be a bit unconvenient.vda2006-11-2716-280/+145
| | | | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. git-svn-id: svn://busybox.net/trunk/busybox@16684 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor shrinkagealdot2006-11-271-8/+6
| | | | | | | | | text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o git-svn-id: svn://busybox.net/trunk/busybox@16683 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifconfig: do not try to continue on errors. not much sence in doing thatvda2006-11-271-104/+58
| | | | | | | IMHO, but requires extra code. git-svn-id: svn://busybox.net/trunk/busybox@16682 69ca8d6d-28ef-0310-b511-8ec308f3f277
* deluser: the same code, but a bit less obfuscated.vda2006-11-271-15/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* deluser: size reduction by 60 bytes.vda2006-11-271-62/+48
| | | | | | | patch from Tito <farmatito@tiscali.it> git-svn-id: svn://busybox.net/trunk/busybox@16680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* added gcc flag which is needed for ULLONG_MAX to appearvda2006-11-261-0/+3
| | | | | | | on Tito's box git-svn-id: svn://busybox.net/trunk/busybox@16678 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Closing bug 730. libbb run_parts is using scandir (a GNUism),vda2006-11-264-129/+99
| | | | | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...). git-svn-id: svn://busybox.net/trunk/busybox@16677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* added small doc about tar 'pax header' formatvda2006-11-261-0/+239
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sort: two small optimizationsvda2006-11-261-9/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sort: reformat entire file wrt style.vda2006-11-261-182/+215
| | | | | | | | | fix single obvious bug: right hand was 0 here: flags & (FLAG_b&FLAG_d&FLAG_f&FLAG_i&FLAG_bb) fixed to use | git-svn-id: svn://busybox.net/trunk/busybox@16674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes:vda2006-11-269-24/+35
| | | | | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. git-svn-id: svn://busybox.net/trunk/busybox@16673 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: refuse to untar files with "/../" componentsvda2006-11-261-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16672 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: correctly skip (and warn about) pax headers.vda2006-11-262-20/+35
| | | | | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs! git-svn-id: svn://busybox.net/trunk/busybox@16671 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can savevda2006-11-251-25/+98
| | | | | | | | | | long names now. We were able to read such tars, but not create. +275 bytes. Without FEATURE_TAR_GNU_EXTENSIONS: -25 bytes. We still cannot unpack Linux kernels, but not for long ;) git-svn-id: svn://busybox.net/trunk/busybox@16670 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tee: fix bug: argv[-1] is a no-no!vda2006-11-254-58/+71
| | | | | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error" git-svn-id: svn://busybox.net/trunk/busybox@16669 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: small fix and small optimizationvda2006-11-252-12/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16668 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small improvements in str -> num convertorsvda2006-11-253-9/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: abort if tarring up file larger that 64Gbvda2006-11-251-42/+35
| | | | | | | (otherwise we will produce garbled tarfile) git-svn-id: svn://busybox.net/trunk/busybox@16666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dd: support >2gb values for seek, skip, countvda2006-11-251-4/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16665 69ca8d6d-28ef-0310-b511-8ec308f3f277
* regularize str -> num convertorsvda2006-11-256-271/+362
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small optimizationvda2006-11-241-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: fix multiple -t and/or -v options handling.vda2006-11-242-44/+28
| | | | | | | do not process list of files to tar up in reverse order. git-svn-id: svn://busybox.net/trunk/busybox@16662 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: sanitize option handlingvda2006-11-248-217/+177
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16661 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: buglet fixvda2006-11-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: fix and sanitize handling of long filenames/linknamesvda2006-11-243-21/+47
| | | | | | | | | | | | (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 git-svn-id: svn://busybox.net/trunk/busybox@16659 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hunt down improper include <>, make mkswap output 4Gb+ friendlyvda2006-11-245-12/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16658 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svn add makedev.c. Forgot as usual... :(vda2006-11-241-0/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: small fixes:vda2006-11-242-38/+42
| | | | | | | | * size-optimize mapping code * kill double close git-svn-id: svn://busybox.net/trunk/busybox@16655 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: cache [ug]id->username/groupname mappings. Cuts down amountvda2006-11-243-24/+52
| | | | | | | | of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) git-svn-id: svn://busybox.net/trunk/busybox@16654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: cry murder and bail out if file shrinks under us while we tar it upvda2006-11-242-4/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* glibc makedev() is a large inline. Save 700+ bytes by wrapping itvda2006-11-242-32/+96
| | | | | | | into a function. git-svn-id: svn://busybox.net/trunk/busybox@16652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* header_verbose_list: stop truncating file size in listingvda2006-11-2410-43/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar:vda2006-11-244-181/+220
| | | | | | | | | | | | * 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 git-svn-id: svn://busybox.net/trunk/busybox@16650 69ca8d6d-28ef-0310-b511-8ec308f3f277
* md5sum: make -c grok formats like "68b329da9893e34099c7d8ad5cb9c940 *foo".vda2006-11-231-20/+24
| | | | | | | Also eradicate 95 bytes of bloat. git-svn-id: svn://busybox.net/trunk/busybox@16648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown:vda2006-11-231-6/+9
| | | | | | | | ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig git-svn-id: svn://busybox.net/trunk/busybox@16647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: save some 100+ bytes of code in addstr()vda2006-11-231-45/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16646 69ca8d6d-28ef-0310-b511-8ec308f3f277
* wget: -O - still outputs progressbar (to stderr)vda2006-11-231-5/+6
| | | | | | | Noticed dead code. -100 bytes. git-svn-id: svn://busybox.net/trunk/busybox@16645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesvda2006-11-234-54/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),vda2006-11-2216-42/+40
| | | | | | | | use them where appropriate. 200 bytes saved git-svn-id: svn://busybox.net/trunk/busybox@16641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add FIXME to brokenness in the installer..aldot2006-11-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix typoaldot2006-11-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16629 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix double mergevda2006-11-221-76/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16628 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - update TODOsaldot2006-11-221-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16626 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert r15563 (pull current version of taskset off the busybox_scratch branch)aldot2006-11-225-0/+125
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd: move generic stuff into libbb. It will make it easyvda2006-11-224-80/+168
| | | | | | | to make other server applets IPv6-aware too. git-svn-id: svn://busybox.net/trunk/busybox@16624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd: if FEATURE_IPV6 is on, telnet will NOT work on IPv4vda2006-11-221-21/+65
| | | | | | | which is kind of stupid git-svn-id: svn://busybox.net/trunk/busybox@16623 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.vda2006-11-227-386/+344
| | | | | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. git-svn-id: svn://busybox.net/trunk/busybox@16622 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reinstate "make checkhelp"aldot2006-11-222-7/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16618 69ca8d6d-28ef-0310-b511-8ec308f3f277