libtar: fix patch's whitespace

This commit is contained in:
Đoàn Trần Công Danh 2022-08-26 22:59:00 +07:00
parent 9f08b81dac
commit 6757365e01

View file

@ -50,7 +50,7 @@ Forwarded: yes
/* allocate the th_pathname buffer if not already */
if (t->th_pathname == NULL)
@@ -51,7 +80,7 @@ th_get_pathname(TAR *t)
@@ -50,7 +79,7 @@ th_get_pathname(TAR *t)
}
/* will be deallocated in tar_close() */
@ -61,7 +61,7 @@ Forwarded: yes
--- a/lib/extract.c
+++ b/lib/extract.c
@@ -298,14 +298,14 @@ tar_extract_hardlink(TAR * t, char *real
@@ -302,14 +302,14 @@ tar_extract_hardlink(TAR * t, char *real
if (mkdirhier(dirname(filename)) == -1)
return -1;
libtar_hashptr_reset(&hp);
@ -78,7 +78,7 @@ Forwarded: yes
#ifdef DEBUG
printf(" ==> extracting: %s (link to %s)\n", filename, linktgt);
@@ -343,9 +343,9 @@ tar_extract_symlink(TAR *t, char *realna
@@ -347,9 +347,9 @@ tar_extract_symlink(TAR *t, char *realna
#ifdef DEBUG
printf(" ==> extracting: %s (symlink to %s)\n",
@ -99,7 +99,7 @@ Forwarded: yes
+char* safer_name_suffix(char const*);
--- a/lib/output.c
+++ b/lib/output.c
@@ -123,9 +123,9 @@ th_print_long_ls(TAR *t)
@@ -124,9 +124,9 @@ th_print_long_ls(TAR *t)
else
printf(" link to ");
if ((t->options & TAR_GNU) && t->th_buf.gnu_longlink != NULL)