* complete copyright information.
*/
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/trimcpy.h"
+#include "sbr/error.h"
#include <fcntl.h>
-#include <h/md5.h>
-#include <h/mts.h>
-#include <h/tws.h>
-#include <h/mime.h>
-#include <h/mhparse.h>
-#include <h/mhcachesbr.h>
-#include <h/utils.h>
+#include "h/md5.h"
+#include "h/mts.h"
+#include "h/tws.h"
+#include "h/mime.h"
+#include "h/mhparse.h"
+#include "h/mhcachesbr.h"
+#include "h/utils.h"
#include "mhmisc.h"
#include "sbr/lock_file.h"
#include "sbr/m_mktemp.h"
find_cache_aux (int writing, char *directory, char *id,
char *buffer, int buflen)
{
- int mask, usemap;
+ int mask;
+ bool usemap;
char mapfile[BUFSIZ], mapname[BUFSIZ];
FILE *fp;
int failed_to_lock = 0;
static int partno, pid;
static time_t clock = 0;
- usemap = 1;
+ usemap = true;
if (debugsw)
fprintf (stderr, "find_cache_aux %s usemap=%d\n", directory, usemap);