1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 03:45:35 +02:00

Fix for bug#147070

This commit is contained in:
Mikhail Sennikovsky 2006-06-15 14:55:53 +00:00
parent 4836857ef3
commit b3fa88e4c8
2 changed files with 6 additions and 0 deletions

View file

@ -341,6 +341,9 @@ public class PropertyManager {
} }
public void clearProperties(IManagedProject mProject){ public void clearProperties(IManagedProject mProject){
if(mProject == null)
return;
IConfiguration cfgs[] = mProject.getConfigurations(); IConfiguration cfgs[] = mProject.getConfigurations();
for(int i = 0; i < cfgs.length; i++) for(int i = 0; i < cfgs.length; i++)
clearLoaddedData(cfgs[i]); clearLoaddedData(cfgs[i]);

View file

@ -3865,6 +3865,9 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
path = path.removeFirstSegments(dirLocation.segmentCount()).setDevice(null); path = path.removeFirstSegments(dirLocation.segmentCount()).setDevice(null);
} }
} }
if ( fileList == null ) {
fileList = new Vector();
}
fileList.add(path.toString()); fileList.add(path.toString());
} }
} }