From 051eee6ed3056145edeee14d7ab4de9e2f723164 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 13 Oct 2001 07:11:03 +0000 Subject: [PATCH] Reverse part of previous change.... i think it was the wrong approach... im lost --- archival/tar.c | 6 +----- tar.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/archival/tar.c b/archival/tar.c index 018ccdc11..1f8eb4bcb 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -504,11 +504,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv, void append_file_to_list(const char *new_name, char ***list, int *list_count) { *list = realloc(*list, sizeof(char *) * (*list_count + 2)); - if (last_char_is(new_name, '/')) { - (*list)[*list_count] = concat_path_file(new_name, "*"); - } else { - (*list)[*list_count] = xstrdup(new_name); - } + (*list)[*list_count] = xstrdup(new_name); (*list_count)++; (*list)[*list_count] = NULL; } diff --git a/tar.c b/tar.c index 018ccdc11..1f8eb4bcb 100644 --- a/tar.c +++ b/tar.c @@ -504,11 +504,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv, void append_file_to_list(const char *new_name, char ***list, int *list_count) { *list = realloc(*list, sizeof(char *) * (*list_count + 2)); - if (last_char_is(new_name, '/')) { - (*list)[*list_count] = concat_path_file(new_name, "*"); - } else { - (*list)[*list_count] = xstrdup(new_name); - } + (*list)[*list_count] = xstrdup(new_name); (*list_count)++; (*list)[*list_count] = NULL; } -- 2.25.1