]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter.h
Oops, the card array was reversed!
[libucw.git] / lib / sorter.h
index e40ea66eff49b01a72657c7378fe1f183c094960..aae3cd1f4089cbb3658623c3049acd41ea16c069 100644 (file)
@@ -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);