diff --git a/ChangeLog b/ChangeLog index 2472cfd3e..d85fde8ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2013-06-09 David Turner + + * src/cache/ftcmanag.c (FTC_Manager_Reset): Add missing cache flush. + + This code, present since eight(!) years in the unused `CACHE' + branch, has been forgotten to apply to the master branch. It's + really amazing that noone has ever complained since + `FTC_Manager_Reset' is pretty useless without flushing the cache. + 2013-06-07 Werner Lemberg Add and improve pragmas for MSVC compiler. diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c index d8c441fd9..4eb2c5bfd 100644 --- a/src/cache/ftcmanag.c +++ b/src/cache/ftcmanag.c @@ -456,7 +456,8 @@ FTC_MruList_Reset( &manager->sizes ); FTC_MruList_Reset( &manager->faces ); } - /* XXX: FIXME: flush the caches? */ + + FTC_Manager_FlushN( manager, manager->num_nodes ); }