1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 04:45:38 +02:00

clean the cache only if changed

This commit is contained in:
Alain Magloire 2003-11-19 20:24:56 +00:00
parent bc08db7cc0
commit 30d3f00aef

View file

@ -150,9 +150,16 @@ public class Binary extends Openable implements IBinary {
long modification = getModificationStamp();
boolean changed = modification != fLastModification;
fLastModification = modification;
hasDebug = null;
needed = null;
cpu = null;
if (changed) {
hasDebug = null;
needed = null;
cpu = null;
endian = null;
longBSS = -1;
longData = -1;
longText = -1;
soname = null;
}
return changed;
}