diff options
author | Glenn L McGrath | 2001-06-15 03:13:00 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-06-15 03:13:00 +0000 |
commit | 6bad1fa1fdfe330de2bb7eed18ed3bb1bb875e57 (patch) | |
tree | 15b9111ab948a60e746159100ab80060fc8c2cda | |
parent | f429baca868b7f62ffdeefbfce41abd677f97876 (diff) | |
download | busybox-6bad1fa1fdfe330de2bb7eed18ed3bb1bb875e57.zip busybox-6bad1fa1fdfe330de2bb7eed18ed3bb1bb875e57.tar.gz |
This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.c
-rw-r--r-- | libbb/seek_ared_file.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libbb/seek_ared_file.c b/libbb/seek_ared_file.c deleted file mode 100644 index 67c789d..0000000 --- a/libbb/seek_ared_file.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include "libbb.h" - -extern int seek_ared_file(FILE *in_file, ar_headers_t *headers, const char *tar_gz_file) -{ - /* find the headers for the specified .tar.gz file */ - while (headers->next != NULL) { - if (strcmp(headers->name, tar_gz_file) == 0) { - fseek(in_file, headers->offset, SEEK_SET); - return(EXIT_SUCCESS); - } - headers = headers->next; - } - - return(EXIT_FAILURE); -}
\ No newline at end of file |