1 /* vi: set sw=4 ts=4: */
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
13 /* If we are reading through a pipe(), or from stdin then we cant lseek,
14 * we must read and discard the data to skip over it.
16 * TODO: rename to seek_by_read
18 void seek_by_char(const archive_handle_t *archive_handle, const unsigned int jump_size)
21 bb_copyfd_size(archive_handle->src_fd, -1, jump_size);