summaryrefslogtreecommitdiff
path: root/archival/tar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-111-2/+2
| | | | libbb: rename xgetcwd and xreadlink
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-1/+1
|
* fix tar t segfault (closes 1183)Denis Vlasenko2007-02-041-18/+25
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #1Denis Vlasenko2007-01-291-1/+1
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-14/+14
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-1/+1
|
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-15/+17
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* tar: report error if child dies while writing out the end of tarballDenis Vlasenko2006-12-171-8/+39
| | | | (e.g. out of disk space).
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* - remove functions marked as LEGACY in SUSv3 and use their modern counterparts.Bernhard Reutner-Fischer2006-12-121-5/+5
|
* fix support for globally disabling --long-options.Denis Vlasenko2006-11-291-4/+3
| | | | (disabling them saves ~4K on fully configured bbox)
* tar: fix misplaced --exclude long option definitionDenis Vlasenko2006-11-271-4/+9
|
* small fixes:Denis Vlasenko2006-11-261-1/+1
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* tar: correctly skip (and warn about) pax headers.Denis Vlasenko2006-11-261-1/+1
| | | | | plug memory leak. save 50 bytes. Wooohooo! we finally can unpack kernel tarballs!
* tar: add support for FEATURE_TAR_GNU_EXTENSIONS so than we can saveDenis Vlasenko2006-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 ;)
* tar: small fix and small optimizationDenis Vlasenko2006-11-251-10/+6
|
* tar: abort if tarring up file larger that 64GbDenis Vlasenko2006-11-251-42/+35
| | | | (otherwise we will produce garbled tarfile)
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-241-36/+21
| | | | do not process list of files to tar up in reverse order.
* tar: sanitize option handlingDenis Vlasenko2006-11-241-123/+85
|
* tar: small fixes:Denis Vlasenko2006-11-241-23/+23
| | | | | * size-optimize mapping code * kill double close
* tar: cache [ug]id->username/groupname mappings. Cuts down amountDenis Vlasenko2006-11-241-6/+3
| | | | | 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/+12
|
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-3/+3
|
* tar:Denis Vlasenko2006-11-241-105/+127
| | | | | | | | | * 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
* recursive_action: add depth paramDenis Vlasenko2006-10-271-2/+2
| | | | chmod: match coreutils versus following links
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-3/+3
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* small style fixesDenis Vlasenko2006-10-121-1/+1
|
* correct largefile support, add comments about it.Denis Vlasenko2006-10-081-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-2/+2
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-4/+4
| | | | | | | | 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.
* bb_askpass: shorten static password buffer. 256 is way too large.Denis Vlasenko2006-09-231-1/+1
| | | | | simplify code a bit.
* Cleanup headers and replace the zero padding with an even smaller version.Rob Landley2006-09-101-46/+10
| | | | | | | | | One of the pads turned out to be unnecessary: sizeof(struct TarHeader) is TAR_BLOCK_SIZE, the padding's in the struct. The others could be done inline with bb_common_bufsiz1. This is a cleanup I did to Denis' patch long ago, but got sidetracked by what turned into svn 15660.
* tar: fix "xopen with O_CREAT" warning, improve zero padding writeDenis Vlasenko2006-09-091-51/+67
| | | | | (was doing zillions of 1-byte write syscalls)
* tar: revert older fix (non-portable), added new one.Denis Vlasenko2006-09-031-1/+5
| | | | | testsuite tar-extracts-all-subdirs now passes.
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-5/+5
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* These should have been part of 15767 too.Rob Landley2006-08-031-3/+3
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-6/+6
| | | | xlseek and fdlength() for the new mkswap.
* A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley2006-06-251-7/+2
| | | | removing some unnecessary code.
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-2/+2
| | | | head, and change all the callers.
* - typo: s/derefernce/dereference/gBernhard Reutner-Fischer2006-04-181-2/+3
| | | | Thanks to P.J. Day.
* - patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer2006-04-121-4/+3
|
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer2006-04-021-1/+1
|
* just whitespaceTim Riker2006-01-251-7/+7
|
* Patch from Aurelien Jacobs to add unlzma. (A new decompression type,Rob Landley2006-01-201-4/+20
| | | | see www.7-zip.org)
* Bug 547: writing out the tar file header before we confirm we can actuallyRob Landley2006-01-091-11/+14
| | | | | open and read from the file isn't something we can recover from after the fact. Resequence things to check first, write second.
* Bug 601: When we fork an archiver and feed stuff to it through a pipe, ifRob Landley2005-12-161-3/+4
| | | | | we don't close the pipe the child process won't exit, and we'll hang in waitpid().
* - typo: s/sucess/success/gBernhard Reutner-Fischer2005-12-121-1/+1
| | | | What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..