| version 1.14 | | version 1.15 |
|---|
| | |
| /* | | /* |
| * static char *rcsid_swap_c = | | * static char *rcsid_swap_c = |
| * "$Id: swap.c,v 1.14 2003/03/03 05:13:08 mwedel Exp $"; | | * "$Id: swap.c,v 1.15 2005/10/16 22:51:21 qal21 Exp $"; |
| */ | | */ |
| | | |
| /* | | /* |
| | |
| * the functions calling it may not expect the map list to change | | * the functions calling it may not expect the map list to change |
| * underneath them. | | * underneath them. |
| */ | | */ |
| if (m->unique && m->in_memory == MAP_SWAPPED) { | | if ((m->unique || m->template) && m->in_memory == MAP_SWAPPED) { |
| LOG(llevDebug,"Resetting map %s.\n",m->path); | | LOG(llevDebug,"Resetting map %s.\n",m->path); |
| oldmap = m; | | oldmap = m; |
| m = m->next; | | m = m->next; |