FpS_ISLNK gives same result as FpS_ISREG
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
FpS_ISLNK behaves like FpS_ISREG and doesn't detect a soft link on my system. Kernel 2.4.30
ln -s fpopendir.pas fpopendir.pas.link
frank@hela:/home/frank/src/pas > ./fpopendir
regular file 1255 fpopendir.pas.link
frank@hela:/home/frank/src/pas > ls -la fpopendir
-rwxr-x--- 1 frank users 187270 2005-05-30 13:53 fpopendir
-rw-r----- 1 frank users 1255 2005-05-30 13:53 fpopendir.pas
lrwxrwxrwx 1 frank users 13 2005-05-30 14:01 fpopendir.pas.link -> fpopendir.pas
I'm currently implementing a http server in freepascal and found this creating a directory index. Doesn't work as expected.
Additional information:
Reporter: Frank Boehm
EMail: frank at thor dot baldar dot de
Mantis conversion info:
- Mantis ID: 5987
- OS: Linux