Commit a4e6164a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Always increase modifications when necessary.

parent ca7b8c99
Wed Aug 28 03:21:27 1991 Per Cederqvist (ceder at lysator)
* dbck.c (post_check_persons): Uppdatera modifications {ven n{r
man reparerar antalet skapade m|ten f|r en person.
* La till RCS-Id i alla k{llkodsfiler.
* prot-a-parse-arc-c.awk: "smalloc.h" heter <server/smalloc.h>.
......
......@@ -4,7 +4,7 @@
* Author: Per Cederqvist.
*/
static char *rcsid = "$Id: dbck.c,v 0.3 1991/08/28 02:21:46 ceder Exp $";
static char *rcsid = "$Id: dbck.c,v 0.4 1991/08/28 19:58:58 ceder Exp $";
#include <stdarg.h>
......@@ -1074,6 +1074,7 @@ post_check_persons(void)
pstat->created_confs
= person_scratchpad[pers_no]->created_confs;
mark_person_as_changed(pers_no);
modifications++;
log("Person-stat corrected.\n");
}
else
......@@ -1127,9 +1128,9 @@ garb_text_file(void)
Text_no tno = 0;
String text;
log("Renaming %s to %s", textfilename, textbackupfilename);
log("Renaming %s to %s\n", textfilename, textbackupfilename);
rename(textfilename, textbackupfilename);
log("Writing texts to (new) %s", textfilename);
log("Writing texts to (new) %s\n", textfilename);
fflush(stdout);
fflush(stderr);
cache_open_new_text_file();
......
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