]> Dogcows Code - chaz/tar/commitdiff
(read_and): Use all_names_found() as `while' condition.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 2 Oct 2003 10:28:45 +0000 (10:28 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 2 Oct 2003 10:28:45 +0000 (10:28 +0000)
src/list.c

index 5b06e80ecb9b7a27115fb5e5154934d25170918c..9f3b58748ac69e92d1eeff392e7a16d0c2713b01 100644 (file)
@@ -73,7 +73,7 @@ read_and (void (*do_something) (void))
   name_gather ();
   open_archive (ACCESS_READ);
 
-  while (1)
+  while (!all_names_found ())
     {
       prev_status = status;
       status = read_header (false);
This page took 0.025107 seconds and 4 git commands to generate.