From: Martin Mares Date: Mon, 23 Sep 2002 12:11:35 +0000 (+0000) Subject: Adapted to new fastbufs. X-Git-Tag: holmes-import~1345 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bd41d68f3551e625396359879006a7f06a5a223d;p=libucw.git Adapted to new fastbufs. --- diff --git a/lib/sorter.h b/lib/sorter.h index e40ea66e..aae3cd1f 100644 --- a/lib/sorter.h +++ b/lib/sorter.h @@ -385,7 +385,7 @@ struct fastbuf *fb1, struct fastbuf *fb2 #endif #ifdef SORT_DELETE_INPUT - fb1->is_temp_file = SORT_DELETE_INPUT; + FB_IS_TEMP_FILE(fb1) = SORT_DELETE_INPUT; #endif sorter_pass_counter = 1; #ifdef SORT_PRESORT @@ -399,7 +399,7 @@ struct fastbuf *fb1, struct fastbuf *fb2 #ifdef SORT_OUTPUT_FB return fb1; #else - fb1->is_temp_file = 0; + FB_IS_TEMP_FILE(fb1) = 0; if (rename(fb1->name, outname) < 0) die("rename(%s,%s): %m", fb1->name, outname); bclose(fb1);