mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 23:49:22 +02:00
* findclose must always be called (also when findfirst didn't find
anything) git-svn-id: trunk@5570 -
This commit is contained in:
parent
32e06e7a7a
commit
2f8c34a537
@ -159,8 +159,8 @@ implementation
|
|||||||
DirectoryEntries.Add(Dir.Name,Pointer(Ptrint(Dir.Attr)));
|
DirectoryEntries.Add(Dir.Name,Pointer(Ptrint(Dir.Attr)));
|
||||||
end;
|
end;
|
||||||
until findnext(dir) <> 0;
|
until findnext(dir) <> 0;
|
||||||
findclose(dir);
|
|
||||||
end;
|
end;
|
||||||
|
findclose(dir);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user