From bfc33463942060316f70f275471ed202b0076972 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 6 May 2025 09:39:38 +0300 Subject: [PATCH] Minor fix * src/list.c (transform_stat_info): Modify argument pointer, not the global variable. --- src/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.c b/src/list.c index c7b8cc19..68ee3576 100644 --- a/src/list.c +++ b/src/list.c @@ -159,7 +159,7 @@ transform_stat_info (char typeflag, struct tar_stat_info *stat_info) } if (one_top_level_option) - enforce_one_top_level (¤t_stat_info.file_name); + enforce_one_top_level (&stat_info->file_name); } /* Main loop for reading an archive. */