[fpc-devel] TDirectory.Delete(SomePath, True) possibly silenty deletes the contents of symlinks/junctions
Bart
bartjunk64 at gmail.com
Sun Sep 13 14:10:54 CEST 2026
On Sun, Sep 13, 2026 at 2:00 PM Bart <bartjunk64 at gmail.com> wrote:
> Secondly I also noticed that Delphi says it raises an exception if the
> directory does not exist, but I think fpc does not :
> - the result of RemoveDir or DeleteDirectory is not checked
Well, the result of RemoveDir() is not check in case of
TDeleteDirectory.Delete(Path);
--
Bart
More information about the fpc-devel
mailing list