Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2effaf8e
Commit
2effaf8e
authored
Apr 28, 2000
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cache_sync_all): Return early if param.never_save is set, so that the
database won't be saved even at normal server shutdown.
parent
26620ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/server/simple-cache.c
src/server/simple-cache.c
+5
-2
No files found.
src/server/simple-cache.c
View file @
2effaf8e
/*
* $Id: simple-cache.c,v 0.
89 1999
/0
7
/2
4
2
3:39:53
ceder Exp $
* $Id: simple-cache.c,v 0.
90 2000
/0
4
/2
8
2
0:49:31
ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -40,7 +40,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: simple-cache.c,v 0.
89 1999
/0
7
/2
4
2
3:39:53
ceder Exp $"
;
rcsid
=
"$Id: simple-cache.c,v 0.
90 2000
/0
4
/2
8
2
0:49:31
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -2729,6 +2729,9 @@ init_cache(void)
extern
void
cache_sync_all
(
void
)
{
if
(
param
.
never_save
)
return
;
pre_sync
();
while
(
sync_part
()
!=
TRUE
)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment