Last change
on this file since 3719 was 3232, checked in by Bruno Cornec, 11 years ago |
- Update mindi-busybox to 1.21.1
|
-
Property svn:eol-style
set to
native
|
File size:
621 bytes
|
Rev | Line | |
---|
[2725] | 1 | /* vi: set sw=4 ts=4: */
|
---|
| 2 | /*
|
---|
| 3 | * Small lzma deflate implementation.
|
---|
| 4 | * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
|
---|
| 5 | *
|
---|
| 6 | * Licensed under GPLv2, see file LICENSE in this source tree.
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #include "libbb.h"
|
---|
[3232] | 10 | #include "bb_archive.h"
|
---|
[2725] | 11 |
|
---|
| 12 | char FAST_FUNC get_header_tar_lzma(archive_handle_t *archive_handle)
|
---|
| 13 | {
|
---|
| 14 | /* Can't lseek over pipes */
|
---|
| 15 | archive_handle->seek = seek_by_read;
|
---|
| 16 |
|
---|
[3232] | 17 | open_transformer_with_sig(archive_handle->src_fd, unpack_lzma_stream, "unlzma");
|
---|
[2725] | 18 | archive_handle->offset = 0;
|
---|
| 19 | while (get_header_tar(archive_handle) == EXIT_SUCCESS)
|
---|
| 20 | continue;
|
---|
| 21 |
|
---|
| 22 | /* Can only do one file at a time */
|
---|
| 23 | return EXIT_FAILURE;
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.