Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
a433d01a
Commit
a433d01a
authored
Nov 30, 1992
by
Linus Tolke
Browse files
Simple bugfix in the logging code. Made the server dump core when
someone deleted a text and the server was "garbing".
parent
c4e3f18f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/server/ChangeLog
View file @
a433d01a
Tue Dec 1 00:17:23 1992 Linus Tolke Y (linus@mauritz)
* version.incl: Version 1.2.8.
* simple-cache.c (cache_delete_text): Simple bug in the logging of
deleting texts.
Sun Nov 22 16:06:36 1992 Per Cederqvist (ceder@mauritz)
* version.incl: Version 1.2.7.
...
...
src/server/simple-cache.c
View file @
a433d01a
/*
* $Id: simple-cache.c,v 0.2
8
1992/11/
22 15:14:47 ceder
Exp $
* $Id: simple-cache.c,v 0.2
9
1992/11/
30 23:29:16 linus
Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -33,7 +33,7 @@
* New save algorithm by ceder.
*/
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.2
8
1992/11/
22 15:14:47 ceder
Exp $"
;
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.2
9
1992/11/
30 23:29:16 linus
Exp $"
;
/*
...
...
@@ -165,6 +165,8 @@ static int garb_running = 0;
static
void
log_access
(
Log_type
t
,
int
id
)
{
extern
int
putw
(
int
,
FILE
*
);
if
(
garb_running
+
syncing_or_saving
==
0
)
{
putc
(
t
,
logfile
);
...
...
@@ -707,11 +709,10 @@ cached_delete_text(Text_no text)
#ifdef LOGACCESSES
if
(
garb_running
)
{
putc
(
t
,
lt_garb_text
);
putw
(
id
,
text
);
LOGACC
(
lt_garb_text
,
text
);
}
else
log_access
(
lt_delete_text
,
text
);
LOGACC
(
lt_delete_text
,
text
);
#endif
return
OK
;
}
...
...
src/server/version.incl
View file @
a433d01a
/*
* $Id: version.incl,v 0.3
4
1992/11/
22 15:14:55 ceder
Exp $
* $Id: version.incl,v 0.3
5
1992/11/
30 23:29:22 linus
Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -27,4 +27,4 @@
* The version number is encoded in a long. It shall be printed as
* in sed s/\(.*\)\(..\)\(..\)/\1.\2.\3/
*/
1020
7
1020
8
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