check circularities in ln

This commit is contained in:
aarne
2006-06-03 11:51:08 +00:00
parent f24ec8b8c2
commit c5550bd482
3 changed files with 27 additions and 24 deletions

View File

@@ -167,7 +167,7 @@ needCompile opts headers sfiles0 = paths $ res $ mark $ iter changed where
Just ms <- [lookup m allDeps], elem f ms])
|| oElem retainOpers opts)
-> if elem t [MTyResource,MTyIncResource]
then (f,(path,CSRes)) else
then (f,(path,CSRes)) else
if t == MTyIncomplete
then (f,(path,CSComp)) else
x