/* If positive, preserve permissions when extracting. */
GLOBAL int same_permissions_option;
-/* When set, strip the given number of path elements from the file name
+/* When set, strip the given number of file name components from the file name
before extracting */
-GLOBAL size_t strip_path_elements;
+GLOBAL size_t strip_name_components;
GLOBAL bool show_omitted_dirs_option;
print_header (¤t_stat_info, -1);
file_name = safer_name_suffix (current_stat_info.file_name, false);
- if (strip_path_elements)
+ if (strip_name_components)
{
- size_t prefix_len = stripped_prefix_len (file_name, strip_path_elements);
+ size_t prefix_len = stripped_prefix_len (file_name, strip_name_components);
if (prefix_len == (size_t) -1)
{
skip_member ();