aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tar: fix misplaced --exclude long option definitionvda2006-11-271-4/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 2vda2006-11-273-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-278-23/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes:vda2006-11-261-1/+1
| | | | | | | | | 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
* tar: small fix and small optimizationvda2006-11-252-12/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16668 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
* tar: fix multiple -t and/or -v options handling.vda2006-11-241-36/+21
| | | | | | | 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-242-125/+87
| | | | 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-242-21/+46
| | | | | | | | | | | | (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
* tar: small fixes:vda2006-11-241-23/+23
| | | | | | | | * 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-241-6/+3
| | | | | | | | 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-241-2/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* header_verbose_list: stop truncating file size in listingvda2006-11-243-28/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar:vda2006-11-242-179/+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
* insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().vda2006-11-211-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cpio: (allegedly) fix bug 0001095:vda2006-11-212-40/+55
| | | | | | | "cpio hardlink support and possible memory leak fix" git-svn-id: svn://busybox.net/trunk/busybox@16598 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename: compare_string_array -> index_in_str_arrayvda2006-11-051-1/+1
| | | | | | | | introduce index_in_substr_array and use it in iproute2 git-svn-id: svn://busybox.net/trunk/busybox@16515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* recursive_action: add depth paramvda2006-10-271-2/+2
| | | | | | | chmod: match coreutils versus following links git-svn-id: svn://busybox.net/trunk/busybox@16462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last nail into error_msg() (de)capitalizationvda2006-10-271-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename functions to more understandable namesvda2006-10-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* message string changes, mostly for consistency, also -32 bytes in .rodatavda2006-10-2015-24/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16412 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-143-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_get_[chomped]line_from_file wasn't descriptive enough.vda2006-10-122-2/+2
| | | | | | | Renaming... git-svn-id: svn://busybox.net/trunk/busybox@16375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-10-122-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16373 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small style fixesvda2006-10-122-4/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16371 69ca8d6d-28ef-0310-b511-8ec308f3f277
* od: provide full-blown od from coreutils if CONFIG_DESKTOPvda2006-10-101-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16359 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>vda2006-10-104-53/+70
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* correct largefile support, add comments about it.vda2006-10-082-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-0812-55/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-057-233/+131
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_applet_name -> applet_namevda2006-10-033-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-039-22/+22
| | | | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random style fixesvda2006-10-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: add a bit of comment. The code itselfvda2006-10-011-4/+8
| | | | | | | is too bloated to work on it... git-svn-id: svn://busybox.net/trunk/busybox@16284 69ca8d6d-28ef-0310-b511-8ec308f3f277
* g[un]zip: add support for -v (verbose).vda2006-10-0111-64/+103
| | | | | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that. git-svn-id: svn://busybox.net/trunk/busybox@16283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: fix use-after-free (bug 939)vda2006-09-301-7/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vconfig: fix bug 701 (I be damned if I understand it)vda2006-09-301-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another silly little byte saving. couldn't -> cannotvda2006-09-293-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: style fixes; short -> int (generated code is smaller)vda2006-09-281-54/+54
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!)vda2006-09-281-76/+87
| | | | | | | | | at the cost of ~100 bytes of text. Improves friendliness to nommu systems. (Dunno whether nommu people ever use dpkg, though...) git-svn-id: svn://busybox.net/trunk/busybox@16253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.h: remove ugly tricks. We have USE_FEATURE_xxx now.vda2006-09-272-5/+7
| | | | | | | Few bugs are now exposed... git-svn-id: svn://busybox.net/trunk/busybox@16242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* silly switch style fixvda2006-09-273-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_askpass: shorten static password buffer. 256 is way too large.vda2006-09-231-1/+1
| | | | | | | | simplify code a bit. git-svn-id: svn://busybox.net/trunk/busybox@16196 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: getopt_ulflags'isationvda2006-09-221-35/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-172-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "const". Bloatcheck says 0 bytes difference.landley2006-09-122-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277