1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Fix for relative source/output entries calculation

This commit is contained in:
Mikhail Sennikovsky 2007-05-25 09:31:56 +00:00
parent c8dce15ce0
commit acb2de5ef9

View file

@ -1035,7 +1035,7 @@ public class CDataUtil {
path = path.removeFirstSegments(projPath.segmentCount()).makeRelative();
else if (force)
path = path.makeRelative();
return (ICExclusionPatternPathEntry)CDataUtil.createEntry(entry.getKind(), entry.getName(), entry.getValue(), entry.getExclusionPatterns(), entry.getFlags());
return (ICExclusionPatternPathEntry)CDataUtil.createEntry(entry.getKind(), path.toString(), null, entry.getExclusionPatterns(), entry.getFlags());
}
return entry;
}