+ /* reopen those with paths */
+ if(!EmptyString(*log_table[i].name))
+ *log_table[i].logfile = fopen(*log_table[i].name, "a");
+ }
+}
+
+void
+close_logfiles(void)
+{
+ int i;
+
+ if(log_main != NULL)
+ fclose(log_main);
+
+ /* log_main is handled above, so just do the rest */
+ for(i = 1; i < LAST_LOGFILE; i++)
+ {