diff options
author | Denys Vlasenko | 2010-01-09 19:56:15 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-01-09 19:56:15 +0100 |
commit | 93ac7d8468feec562b468e87e1e04b0afdec0951 (patch) | |
tree | fa45240bf23cdf232f4b76b2d1321d4b29fff146 /archival/libunarchive/get_header_cpio.c | |
parent | dc698bb038756a926aaa529bda1b939eab2c1676 (diff) | |
download | busybox-93ac7d8468feec562b468e87e1e04b0afdec0951.zip busybox-93ac7d8468feec562b468e87e1e04b0afdec0951.tar.gz |
cpio: improve help text; document two TODOs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libunarchive/get_header_cpio.c')
-rw-r--r-- | archival/libunarchive/get_header_cpio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c index ddc49f7..4507d53 100644 --- a/archival/libunarchive/get_header_cpio.c +++ b/archival/libunarchive/get_header_cpio.c @@ -115,6 +115,10 @@ char FAST_FUNC get_header_cpio(archive_handle_t *archive_handle) if (archive_handle->filter(archive_handle) == EXIT_SUCCESS) { archive_handle->action_data(archive_handle); +//TODO: run "echo /etc/hosts | cpio -pv /tmp" twice. On 2nd run: +//cpio: etc/hosts not created: newer or same age file exists +//etc/hosts <-- should NOT show it +//2 blocks <-- should say "0 blocks" archive_handle->action_header(file_header); } else { data_skip(archive_handle); |