bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] May be a bug in Tar version 1.26


From: Paul Eggert
Subject: Re: [Bug-tar] May be a bug in Tar version 1.26
Date: Thu, 27 Jun 2013 22:34:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Thanks for reporting that.  I installed this patch:

>From 4895f03fc4aed356c1bb0e9c7ea8eeb95d308244 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Thu, 27 Jun 2013 22:33:04 -0700
Subject: [PATCH] tar: port to Mingw Shell

* src/extract.c (extract_symlink) [!HAVE_SYMLINK]:
Fix typo by replacing WARN_SYMBOLIC_CAST with WARN_SYMLINK_CAST.
Problem reported by kaka in
<http://lists.gnu.org/archive/html/bug-tar/2013-06/msg00008.html>.
---
 src/extract.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/extract.c b/src/extract.c
index faee4eb..319aaa8 100644
--- a/src/extract.c
+++ b/src/extract.c
@@ -1341,7 +1341,7 @@ extract_symlink (char *file_name, int typeflag)
   if (!warned_once)
     {
       warned_once = 1;
-      WARNOPT (WARN_SYMBOLIC_CAST,
+      WARNOPT (WARN_SYMLINK_CAST,
               (0, 0,
                _("Attempting extraction of symbolic links as hard links")));
     }
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]