classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

isDirectory/isFile and links


From: Dr. Torsten Rupp
Subject: isDirectory/isFile and links
Date: Thu, 05 Jun 2003 15:40:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

Hi,

I yust got a little bit confused, because of the behaviour of
java.io.File.isDirectory()/java.io.File.isFile(). If the
requested filename is a link to a file/directory it seems
always "false" is reported. With JDK "true" is reported. The
reason for this seems to be the OS function "lstat" which
is used in java_io_File.c. Should it be "stat" instead?

Sincerely,

Torsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]