]> Dogcows Code - chaz/tar/commitdiff
(file_count_links): do nothing if hard_dereference_option is set.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 29 Oct 2007 16:56:13 +0000 (16:56 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 29 Oct 2007 16:56:13 +0000 (16:56 +0000)
src/create.c

index 7be10d27e69c460d88478864c1aa01e6b4d89dd2..de81639e2244f7c89afd0d6e597f77c4624adcc2 100644 (file)
@@ -1422,6 +1422,8 @@ dump_hard_link (struct tar_stat_info *st)
 static void
 file_count_links (struct tar_stat_info *st)
 {
+  if (hard_dereference_option)
+    return;
   if (st->stat.st_nlink > 1)
     {
       struct link *duplicate;
This page took 0.026491 seconds and 4 git commands to generate.