]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-temp.c
Rewritten shake down of bucket file.
[libucw.git] / lib / fb-temp.c
index 650e8a091d45c34c87c4a69b4b3109793de33cc3..bdaf831d5db4b12d4f4ed81076b0502b089cbad5 100644 (file)
@@ -36,6 +36,6 @@ bopen_tmp(uns bufsize)
 
   sprintf(buf, temp_template, (int) getpid(), temp_counter++);
   f = bopen(buf, O_RDWR | O_CREAT | O_EXCL, bufsize);
-  f->is_temp_file = 1;
+  bconfig(f, BCONFIG_IS_TEMP_FILE, 1);
   return f;
 }