summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-0467-354/+427
|\
| * tar: add a note about -C and symlink-in-tarball attackDenys Vlasenko2011-01-041-0/+19
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bzip2: plug memory leak on every processed fileDenys Vlasenko2010-12-302-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cpio: allow cpio -i to take params - names of files to extractDenys Vlasenko2010-12-261-39/+66
| | | | | | | | | | | | | | | | | | | | | | | | Also, improve help text function old new delta packed_usage 28028 28035 +7 cpio_main 542 532 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-10) Total: -3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe: add support for --show-dependsSerj Kalichev2010-12-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta modprobe_longopts - 16 +16 packed_usage 28018 28028 +10 modprobe_main 648 653 +5 do_modprobe 580 536 -44 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/1 up/down: 31/-44) Total: -13 bytes Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-0366-49/+49
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: move lzo compressor code to archival/libunarchive/. No code changesDenys Vlasenko2010-11-039-73/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixDenys Vlasenko2010-11-011-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * decompress_bunzip2: reinstate erroneously deleted RETVAL_SHORT_WRITEDenys Vlasenko2010-11-011-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * decompress_bunzip2: code shrink ~5 bytesDenys Vlasenko2010-10-301-12/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: code shrink ~10 bytesDenys Vlasenko2010-10-301-74/+99
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: add profiling data to comment. no code changesDenys Vlasenko2010-10-291-0/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: relieve register pressure in hot function read_bunzipDenys Vlasenko2010-10-291-7/+13
| | | | | | | | | | | | | | | | function old new delta unpack_bz2_stream 318 329 +11 read_bunzip 268 262 -6 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: keep bd->writeCRC in CPU reg in the hot loopDenys Vlasenko2010-10-291-21/+28
| | | | | | | | | | | | -5 bytes on 64-bit, +7 bytes on 32-bit. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: code shrinkDenys Vlasenko2010-10-291-44/+67
| | | | | | | | | | | | | | | | | | | | | | function old new delta get_next_block 1828 1827 -1 get_bits 164 156 -8 read_bunzip 304 261 -43 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-52) Total: -52 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * whitespace cleanupDenys Vlasenko2010-10-296-26/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * decompress_bunzip2: handle concatenated .bz2 filesDenys Vlasenko2010-10-281-25/+49
| | | | | | | | | | | | | | | | | | | | function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-043-5/+5
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-283-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-044-42/+15
|\|
| * libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-274-42/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta crc32_block_endian1 - 37 +37 crc32_block_endian0 - 34 +34 global_crc32_table - 8 +8 file_read 82 87 +5 gzip_main 211 214 +3 xz_crc32 40 35 -5 crc32_table 8 - -8 calculate_gunzip_crc 54 34 -20 lzo_crc32 54 25 -29 cksum_main 298 211 -87 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/4 up/down: 87/-149) Total: -62 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-044-5/+7
|\|
| * *: replace xopen3 with xopen where makes senseDenys Vlasenko2010-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta uniq_main 421 416 -5 sort_main 803 798 -5 patch_main 2051 2046 -5 cpio_main 547 542 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cpio: avoid 'not created: newer or same age file exists' message for dirsPascal Bellard2010-10-181-1/+3
| | | | | | | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: pass md5/shaN context pointer as 1st arg, not lastDenys Vlasenko2010-10-161-2/+2
| | | | | | | | | | | | | | | | | | function old new delta md5_hash_block 458 459 +1 filter_rename_config 252 250 -2 md5_crypt 591 587 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tweak help textDenys Vlasenko2010-10-091-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: enable lzop (requires WIN32_NET)Nguyễn Thái Ngọc Duy2010-09-201-0/+1
| |
* | win32: bbunpack: close stdin before removing compressed fileNguyễn Thái Ngọc Duy2010-09-201-0/+2
| | | | | | | | | | Windows does not allow to remove an opening file. Close it first, then we can remove it.
* | win32: tar: do not check for archiving the target archive itselfNguyễn Thái Ngọc Duy2010-09-201-0/+2
| | | | | | | | | | | | While it is generally a good thing to do, st_dev and st_ino on Windows is unreliable (i.e. always zero). This makes tar think every file is the archive it is creating, thus refuse to add them to the archive.
* | Merge remote branch 'origin/master'Nguyễn Thái Ngọc Duy2010-09-142-16/+23
|\|
| * made 3 license strings to follow the usual form ("or later" bit is not changed!)Denys Vlasenko2010-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * lzop: fix misordered "v=NULL; free(v)", small code shrinkDenys Vlasenko2010-09-041-15/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-1441-55/+54
|\|
| * libbb: add xfstat functionDenys Vlasenko2010-08-312-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * bbconfig: add COMPRESS_BBCONFIG optionDenys Vlasenko2010-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | function old new delta bbconfig_config_bz2 - 4905 +4905 bbconfig_main 13 70 +57 bbconfig_config 21811 - -21811 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 4962/-21811) Total: -16849 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixes in config help textDenys Vlasenko2010-08-291-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-1640-49/+49
| | | | | | | | | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-145-5/+1
|\|
| * *: trailing empty lines removedDenys Vlasenko2010-07-261-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: more empty lines removed. no code changesDenys Vlasenko2010-07-261-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: mass cosmetic removal of extra empty lines. no code changesDenys Vlasenko2010-07-262-2/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tweak defconfigDenys Vlasenko2010-07-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-1417-279/+536
|\|
| * remove unzip doc: we don't have 100% proof it's ok to distributeDenys Vlasenko2010-07-101-0/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixesDenys Vlasenko2010-07-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * randomconfig fixesDenys Vlasenko2010-07-052-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: introduce and use xfork() and xvfork()Pascal Bellard2010-07-043-20/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta launch_helper 170 169 -1 setup_heredoc 312 302 -10 handle_dir_common 367 354 -13 expand_vars_to_list 2456 2443 -13 open_transformer 89 74 -15 data_extract_to_command 439 423 -16 do_ipaddr 1406 1389 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-85) Total: -85 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove some dead assignments, add a TODO commentDenys Vlasenko2010-07-041-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * consolidate xz format comment. no code changesDenys Vlasenko2010-07-011-2/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * xz compression detection: avoid the need to seekDenys Vlasenko2010-07-013-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_unxz 12 67 +55 unpack_xz_stream 2357 2373 +16 xmalloc_read 197 199 +2 setup_unzip_on_fd 118 99 -19 rpm2cpio_main 222 203 -19 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 73/-38) Total: 35 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>