]> Dogcows Code - chaz/tar/commitdiff
(purge_directory): Do not dereference symbolic links. Bug reported by Ralph Corderoy...
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 3 Sep 2005 10:27:13 +0000 (10:27 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 3 Sep 2005 10:27:13 +0000 (10:27 +0000)
src/incremen.c

index ebcf80801465381dab2183f8b3c65fa7ae5008ba..9902d10a2bf9e0a4a51f0418c3f10b4ac133f243 100644 (file)
@@ -524,7 +524,7 @@ purge_directory (char const *directory_name)
          struct stat st;
          char *p = new_name (directory_name, cur);
 
-         if (deref_stat (true, p, &st))
+         if (deref_stat (false, p, &st))
            {
              stat_diag (p);
              WARN((0, 0, _("%s: Not purging directory: unable to stat"),
This page took 0.025057 seconds and 4 git commands to generate.