Am Samstag, 26. Mai 2007 02:29 schrieben Sie: > Right, so the (ssb.sb.st_mode & S_IFMT) is S_IFDIR which is basically > the OS telling us that it is a directory. I don't see what we can do if > the OS is not telling us the right thing. The filestat code is a bit > convoluted trying to deal with lots of strange operating systems, but > this part of it seems pretty clear.
OK. But let me mention (without knowing the source code of stat) that stat --format=%F /tmp/link-test returns 'symbolic link' So there must be different methods to find out!? Regards, Oliver -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php