Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tar: correctly skip (and warn about) pax headers. | Denis Vlasenko | 2006-11-26 | 1 | -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 save | Denis Vlasenko | 2006-11-25 | 1 | -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 optimization | Denis Vlasenko | 2006-11-25 | 1 | -10/+6 | |
| | ||||||
* | tar: abort if tarring up file larger that 64Gb | Denis Vlasenko | 2006-11-25 | 1 | -42/+35 | |
| | | | | (otherwise we will produce garbled tarfile) | |||||
* | tar: fix multiple -t and/or -v options handling. | Denis Vlasenko | 2006-11-24 | 1 | -36/+21 | |
| | | | | do not process list of files to tar up in reverse order. | |||||
* | tar: sanitize option handling | Denis Vlasenko | 2006-11-24 | 1 | -123/+85 | |
| | ||||||
* | tar: small fixes: | Denis Vlasenko | 2006-11-24 | 1 | -23/+23 | |
| | | | | | * size-optimize mapping code * kill double close | |||||
* | tar: cache [ug]id->username/groupname mappings. Cuts down amount | Denis Vlasenko | 2006-11-24 | 1 | -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 up | Denis Vlasenko | 2006-11-24 | 1 | -2/+12 | |
| | ||||||
* | header_verbose_list: stop truncating file size in listing | Denis Vlasenko | 2006-11-24 | 1 | -3/+3 | |
| | ||||||
* | tar: | Denis Vlasenko | 2006-11-24 | 1 | -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 param | Denis Vlasenko | 2006-10-27 | 1 | -2/+2 | |
| | | | | chmod: match coreutils versus following links | |||||
* | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | 2006-10-20 | 1 | -3/+3 | |
| | ||||||
* | add open_read_close() and similar stuff | Denis Vlasenko | 2006-10-14 | 1 | -1/+1 | |
| | ||||||
* | bb_get_[chomped]line_from_file wasn't descriptive enough. | Denis Vlasenko | 2006-10-12 | 1 | -1/+1 | |
| | | | | Renaming... | |||||
* | small style fixes | Denis Vlasenko | 2006-10-12 | 1 | -1/+1 | |
| | ||||||
* | correct largefile support, add comments about it. | Denis Vlasenko | 2006-10-08 | 1 | -1/+1 | |
| | ||||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 1 | -2/+2 | |
| | ||||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -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 Vlasenko | 2006-09-23 | 1 | -1/+1 | |
| | | | | | simplify code a bit. | |||||
* | Cleanup headers and replace the zero padding with an even smaller version. | Rob Landley | 2006-09-10 | 1 | -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 write | Denis Vlasenko | 2006-09-09 | 1 | -51/+67 | |
| | | | | | (was doing zillions of 1-byte write syscalls) | |||||
* | tar: revert older fix (non-portable), added new one. | Denis Vlasenko | 2006-09-03 | 1 | -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 damage | Rob Landley | 2006-08-29 | 1 | -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 Landley | 2006-08-03 | 1 | -3/+3 | |
| | ||||||
* | Cleaup read() and write() variants, plus a couple of new functions like | Rob Landley | 2006-07-16 | 1 | -6/+6 | |
| | | | | xlseek and fdlength() for the new mkswap. | |||||
* | A few patches from Erik Hovland, turning strncpy() into safe_strncpy() and | Rob Landley | 2006-06-25 | 1 | -7/+2 | |
| | | | | removing some unnecessary code. | |||||
* | Change llist_add_* to take the address of the list rather than returning the new | Rob Landley | 2006-05-26 | 1 | -2/+2 | |
| | | | | head, and change all the callers. | |||||
* | - typo: s/derefernce/dereference/g | Bernhard Reutner-Fischer | 2006-04-18 | 1 | -2/+3 | |
| | | | | Thanks to P.J. Day. | |||||
* | - patch from Denis Vlasenko to add and use bb_xchdir() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -4/+3 | |
| | ||||||
* | - typos: s/compatability/compatibility/g;s/compatable/compatible/g; | Bernhard Reutner-Fischer | 2006-04-02 | 1 | -1/+1 | |
| | ||||||
* | just whitespace | Tim Riker | 2006-01-25 | 1 | -7/+7 | |
| | ||||||
* | Patch from Aurelien Jacobs to add unlzma. (A new decompression type, | Rob Landley | 2006-01-20 | 1 | -4/+20 | |
| | | | | see www.7-zip.org) | |||||
* | Bug 547: writing out the tar file header before we confirm we can actually | Rob Landley | 2006-01-09 | 1 | -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, if | Rob Landley | 2005-12-16 | 1 | -3/+4 | |
| | | | | | we don't close the pipe the child process won't exit, and we'll hang in waitpid(). | |||||
* | - typo: s/sucess/success/g | Bernhard Reutner-Fischer | 2005-12-12 | 1 | -1/+1 | |
| | | | | What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look.. | |||||
* | reduce 3 warning if compile with -W | "Vladimir N. Oleynik" | 2005-12-06 | 1 | -2/+5 | |
| | ||||||
* | Add --no-same-owner and --no-same-permissions options to tar. | Rob Landley | 2005-10-27 | 1 | -35/+52 | |
| | ||||||
* | The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859, | Rob Landley | 2005-10-16 | 1 | -2/+2 | |
| | | | | | | which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar. | |||||
* | Whitespace and curly bracket cleanup (our tabstop is 4 in busybox), | Rob Landley | 2005-10-16 | 1 | -188/+146 | |
| | | | | and switch more stuff from CONFIG to ENABLE. | |||||
* | llist must initialize, add loses ifdef, small indent correction | "Vladimir N. Oleynik" | 2005-10-15 | 1 | -30/+33 | |
| | ||||||
* | Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar). | Rob Landley | 2005-10-15 | 1 | -20/+24 | |
| | | | | | | | | I have no idea how to apply bb_getopt_complementally to a --longopt that has no short option. The documentation from vodz has a bad case of babelfish poisoning, and I can't understand it. It sort of seems to suggest there is a way, but what it is I have no idea. So I used \n as the short option, which is fairly unlikely to be used for something else. :) | |||||
* | - new bb_opt_complementally syntax, use [-:?] only - 'free' chars | "Vladimir N. Oleynik" | 2005-10-14 | 1 | -6/+4 | |
| | | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet | |||||
* | new featured bb_opt_complementally, correct argc checking | "Vladimir N. Oleynik" | 2005-10-12 | 1 | -14/+6 | |
| | ||||||
* | - use complementally '!' to '?' - 'ask' is best 'free' char for this. | "Vladimir N. Oleynik" | 2005-10-11 | 1 | -1/+1 | |
| | | | | | - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets. | |||||
* | change interface to bb_xasprintf() - more perfect for me. | "Vladimir N. Oleynik" | 2005-09-29 | 1 | -6/+2 | |
| | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum | |||||
* | - rename libbb's password helpers as suggested in libbb.h | Bernhard Reutner-Fischer | 2005-09-20 | 1 | -2/+2 | |
| | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug | |||||
* | 1) bb_opt_complementaly -> bb_opt_complementally | "Vladimir N. Oleynik" | 2005-09-05 | 1 | -5/+1 | |
| | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally | |||||
* | Fix for bug 383: attempting to "tar c /" would error out because stripping | Rob Landley | 2005-09-01 | 1 | -1/+1 | |
| | | | | trailing / turns that into an empty string. | |||||
* | Dirk Clemens pointed out how easy it is to support bzip2 compression, since we | Rob Landley | 2005-08-30 | 1 | -18/+15 | |
| | | | | shell out to an external program to handle gzip anyway... |