diff --git a/src/server/ChangeLog b/src/server/ChangeLog index bb2edde42431678213f7ccf3dbf3facd4501f226..94e7b40d52d9a5360e50732bf36dc382f670bf41 100644 --- a/src/server/ChangeLog +++ b/src/server/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 5 19:10:20 1992 Per Cederqvist (ceder at lysator) + + * init_cache (simple-cache.c): Slightly better log error message + when the text file can not be found. + Wed Dec 18 00:05:43 1991 Per Cederqvist (ceder at lysator) * Version 1.0.4 was never used. Version is now 1.1.0. diff --git a/src/server/simple-cache.c b/src/server/simple-cache.c index f6b97a792cb1d0402ed78ac04f40364f714759c6..5f319c3d4c9196da20fd404cb44605026a128e61 100644 --- a/src/server/simple-cache.c +++ b/src/server/simple-cache.c @@ -1,5 +1,5 @@ /* - * $Id: simple-cache.c,v 0.18 1991/11/10 19:02:11 linus Exp $ + * $Id: simple-cache.c,v 0.19 1992/01/05 18:23:07 ceder 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.18 1991/11/10 19:02:11 linus Exp $"; +static char *rcsid = "$Id: simple-cache.c,v 0.19 1992/01/05 18:23:07 ceder Exp $"; @@ -1687,7 +1687,9 @@ init_cache(void) if ( (text_file = fopen(textfilename, "a+b")) == NULL ) { - restart_kom("ERROR: init_cache: can't open text file.\n"); + restart_kom("ERROR: init_cache: can't open text file \"%s\"." + " errno = %d\n", + textfilename, errno); } if ( is_clean(datafilename) )