FileExists returns True on directory
Original Reporter info from Mantis: Valdas
-
Reporter name: Valdas Jankūnas
Description:
If i pass "/home/senbuvis/programavimas/Lazarus/Img2Ter/" (real directory that exist on disk) to function FileExists function returns True.
I think function should also check if Name is actually a File like function DirectoryExists does.
Mantis conversion info:
-
Mantis ID: 8900
-
OS: kUbuntu
-
OS Build: 7.04
-
Build: 2007/02/02
-
Platform: i386 32bit
-
Version: 2.0.4
-
Fixed in version: 2.4.4
-
Fixed in revision: 678 (#4626d6e9)