aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/seek_by_char.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/seek_by_char.c')
-rw-r--r--archival/libunarchive/seek_by_char.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/archival/libunarchive/seek_by_char.c b/archival/libunarchive/seek_by_char.c
index 02874db51..81d5f8d7c 100644
--- a/archival/libunarchive/seek_by_char.c
+++ b/archival/libunarchive/seek_by_char.c
@@ -1,23 +1,14 @@
1/* vi:set ts=4:*/
1/* 2/*
2 * This program is free software; you can redistribute it and/or modify 3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15 */ 4 */
16 5
17#include <stdlib.h> 6#include <stdlib.h>
18 7
19#include "unarchive.h" 8#include "unarchive.h"
20#include "busybox.h" 9#include "libbb.h"
10
11
21 12
22/* If we are reading through a pipe(), or from stdin then we cant lseek, 13/* If we are reading through a pipe(), or from stdin then we cant lseek,
23 * we must read and discard the data to skip over it. 14 * we must read and discard the data to skip over it.