Commit 8fe8aa3a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(garb_text_file): Call cache_sync_all instead of cache_sync.

(main): Likewise.
parent bb37d5d7
/*
* $Id: dbck.c,v 0.43 1999/01/13 12:08:26 byers Exp $
* $Id: dbck.c,v 0.44 1999/04/03 22:12:22 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
static const char *
rcsid = "$Id: dbck.c,v 0.43 1999/01/13 12:08:26 byers Exp $";
rcsid = "$Id: dbck.c,v 0.44 1999/04/03 22:12:22 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1418,7 +1418,7 @@ garb_text_file(void)
log("Writing datafile with new indexes.\n");
fflush(stdout);
fflush(stderr);
cache_sync();
cache_sync_all();
log("Ready.");
}
......@@ -1671,7 +1671,7 @@ main (int argc,
modifications, modifications == 1 ? "" : "s");
fflush(stdout);
fflush(stderr);
cache_sync();
cache_sync_all();
log("ready.\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment