busybox/archival/libunarchive
Denis Vlasenko 1af00eda92 cpio: fix a bug where we do not extract zero-sized hardlinks
(spotted at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771).
Add testsuite entry for that, and another one for another bug:
we do not list hardlinks in cpio -t (not fixed).

function                                             old     new   delta
get_header_cpio                                      884     909     +25
static.saved_hardlinks_created                         -       4      +4
static.pending_hardlinks                               4       -      -4
static.inode                                           4       -      -4
cpio_main                                           1122    1060     -62
2008-04-05 02:44:30 +00:00
..
archive_xread_all_eof.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
data_align.c random s/short/int/ 2008-02-16 13:18:17 +00:00
data_extract_all.c cpio: fix a bug where we do not extract zero-sized hardlinks 2008-04-05 02:44:30 +00:00
data_extract_to_buffer.c tar et al: die if bb_copyfd_size copies less than asked for. 2006-12-22 00:21:07 +00:00
data_extract_to_stdout.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
data_skip.c use "glibc errno" trick not only for ash, but for entire busybox 2007-05-31 22:16:38 +00:00
decompress_bunzip2.c bunzip: small code shrink and consmetics 2007-10-10 20:53:41 +00:00
decompress_uncompress.c moved biggest stack buffers to malloc space, or made their size configurable 2007-06-10 15:08:44 +00:00
decompress_unlzma.c unlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> 2008-03-18 03:13:25 +00:00
decompress_unzip.c unzip: do not try to read entire compressed stream at once (it can be huge) 2008-02-04 12:12:48 +00:00
filter_accept_all.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
filter_accept_list_reassign.c s/#ifdef CONFIG_/#if ENABLE_/g 2007-08-13 10:36:25 +00:00
filter_accept_list.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
filter_accept_reject_list.c fsck_minix: getopt32-ification; code shrink; reduce stack usage; 2008-03-17 08:32:26 +00:00
find_list_entry.c fsck_minix: getopt32-ification; code shrink; reduce stack usage; 2008-03-17 08:32:26 +00:00
get_header_ar.c random small shrinkage and elimination of statics 2007-04-07 00:44:31 +00:00
get_header_cpio.c cpio: fix a bug where we do not extract zero-sized hardlinks 2008-04-05 02:44:30 +00:00
get_header_tar_bz2.c open_transformer: do not duplicate "<program> -cf -" 2007-11-12 02:13:12 +00:00
get_header_tar_gz.c open_transformer: do not duplicate "<program> -cf -" 2007-11-12 02:13:12 +00:00
get_header_tar_lzma.c open_transformer: do not duplicate "<program> -cf -" 2007-11-12 02:13:12 +00:00
get_header_tar.c tar: optional autodetection of gz/bz2 compressed tarballs. 2008-02-19 11:26:28 +00:00
header_list.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
header_skip.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
header_verbose_list.c tar: real support for -p. +200 if selected. 2008-02-14 20:37:54 +00:00
init_handle.c cpio: (allegedly) fix bug 0001095: 2006-11-21 00:55:46 +00:00
Kbuild bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code resides 2007-10-13 03:36:03 +00:00
open_transformer.c *: more readable handling of pipe fds. No code changes. 2008-02-16 13:20:56 +00:00
seek_by_jump.c cpio: fix a bug where we do not extract zero-sized hardlinks 2008-04-05 02:44:30 +00:00
seek_by_read.c *: more readable handling of pipe fds. No code changes. 2008-02-16 13:20:56 +00:00
unpack_ar_archive.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00