version 1.69 | | version 1.70 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.69 2002/11/26 08:48:20 garbled Exp $"; | | * "$Id: main.c,v 1.70 2002/12/03 07:40:18 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
for(m=first_map;m!=NULL;m=next) { | | for(m=first_map;m!=NULL;m=next) { |
next=m->next; | | next=m->next; |
if (m->in_memory == MAP_IN_MEMORY) | | if (m->in_memory == MAP_IN_MEMORY) { |
/* If we want to reuse the temp maps, swap it out (note that will also | | /* If we want to reuse the temp maps, swap it out (note that will also |
* update the log file. Otherwise, save the map (mostly for unique item | | * update the log file. Otherwise, save the map (mostly for unique item |
* stuff). Note that the clean_tmp_map is called after the end of | | * stuff). Note that the clean_tmp_map is called after the end of |
* the for loop but is in the #else bracket. IF we are recycling the maps, | | * the for loop but is in the #else bracket. IF we are recycling the maps, |
* we certainly don't want the temp maps removed. | | * we certainly don't want the temp maps removed. |
*/ | | */ |
| | |
/* XXX The above comment is dead wrong */ | | /* XXX The above comment is dead wrong */ |
if (settings.recycle_tmp_maps == TRUE) | | if (settings.recycle_tmp_maps == TRUE) |
swap_map(m); | | swap_map(m); |
| | |
clean_tmp_map(m); | | clean_tmp_map(m); |
} | | } |
} | | } |
| | } |
write_todclock(); /* lets just write the clock here */ | | write_todclock(); /* lets just write the clock here */ |
} | | } |
| | |