git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7097 8c9fc860-2736-0410-a75d-ab315db34111
@@ -299,6 +299,8 @@ TYPE
collection.AddOld(f);
EXIT
END
+ ELSE
+ (* file exists but open failed *) f := NIL; EXIT
ELSIF nextdir # "" THEN
MakePath( nextdir, name, path ); ScanPath( pos, nextdir );