From 2a5c9127ad298fd8ad11579f33c4d931d59c53dc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 22 May 2023 20:40:43 -0400 Subject: opk/write: Fix path length handling, add virt path --- (limited to 'src/opk/opk.h') diff --git a/src/opk/opk.h b/src/opk/opk.h index d66e0a7..e57be4f 100644 --- a/src/opk/opk.h +++ b/src/opk/opk.h @@ -39,7 +39,9 @@ struct opkg_opk_opk { int list_control; int list_data; const char *control_dir; + size_t control_dir_len; const char *data_dir; + size_t data_dir_len; FILE *file; struct opkg_opk_specials *specials; char file_buffer[8192]; @@ -52,8 +54,8 @@ struct opkg_opk_opk { struct opkg_opk_gzip *inner_gzip; struct opkg_opk_ustar *inner_ustar; int previously_printed; - size_t path_len; - char *path; + char *path_real; + char *path_virt; char *temp_file_name; }; -- cgit v0.9.1