]> Dogcows Code - chaz/tar/blobdiff - src/list.c
(read_and): Use all_names_found() as `while' condition.
[chaz/tar] / 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.021716 seconds and 4 git commands to generate.