From: Sergey Poznyakoff Date: Thu, 2 Oct 2003 10:28:45 +0000 (+0000) Subject: (read_and): Use all_names_found() as `while' condition. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=05b3fdccc1eb702d330794faab0747c1e683afa8;p=chaz%2Ftar (read_and): Use all_names_found() as `while' condition. --- diff --git a/src/list.c b/src/list.c index 5b06e80..9f3b587 100644 --- a/src/list.c +++ b/src/list.c @@ -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);