* Sherlock Library -- Temporary Fastbufs
*
* (c) 2002 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
#include "lib/lib.h"
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;
}