summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_read.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-03 23:29:47 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-03 23:29:47 +0000
commit7cabd201cef39001c4ecb663b8f57dd1beeb30a5 (patch)
tree1b834095e506451fe3a7177b03ddfb3aa335f026 /lib/libarchive/archive_read.c
parente1825e175b00c8e9b20e50338e19802e6b2f3504 (diff)
downloadFreeBSD-src-7cabd201cef39001c4ecb663b8f57dd1beeb30a5.zip
FreeBSD-src-7cabd201cef39001c4ecb663b8f57dd1beeb30a5.tar.gz
Refactor the extraction code somewhat. In particular,
push extract data down into archive_read_extract.c and out of the library-global archive_private.h; push dir-specific mode/time fixup down into dir restore function; now that the fixup list is file-local, I can use somewhat more natural naming. Oh, yeah, update a bunch of comments to match current reality.
Diffstat (limited to 'lib/libarchive/archive_read.c')
-rw-r--r--lib/libarchive/archive_read.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libarchive/archive_read.c b/lib/libarchive/archive_read.c
index 0e05c4b..0ecd24b 100644
--- a/lib/libarchive/archive_read.c
+++ b/lib/libarchive/archive_read.c
@@ -460,7 +460,6 @@ archive_read_finish(struct archive *a)
/* Casting a pointer to int allows us to remove 'const.' */
free((void *)(uintptr_t)(const void *)a->nulls);
- archive_string_free(&a->extract_mkdirpath);
archive_string_free(&a->error_string);
if (a->entry)
archive_entry_free(a->entry);
OpenPOWER on IntegriCloud