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:
parent
bc08db7cc0
commit
30d3f00aef
1 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue