aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/File.java
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2006-06-06 15:09:20 +0000
committerGary Benson <gary@gcc.gnu.org>2006-06-06 15:09:20 +0000
commit1e19cfd26deed52f457a08a82ad753cebc854479 (patch)
tree1bf59618bf924a1b5a39b4a3404428ec2cebfef4 /libjava/java/io/File.java
parent406af897d0e3ea07a1baf80b60c2077d25e5420a (diff)
downloadgcc-1e19cfd26deed52f457a08a82ad753cebc854479.zip
gcc-1e19cfd26deed52f457a08a82ad753cebc854479.tar.gz
gcc-1e19cfd26deed52f457a08a82ad753cebc854479.tar.bz2
natFilePosix.cc (getCanonicalPath): Rewritten.
* java/io/natFilePosix.cc (getCanonicalPath): Rewritten. * configure.ac: Remove realpath check and add checks for lstat and readlink. * configure: Rebuilt. * include/config.h.in: Likewise. * java/io/File.java: Javadoc fix. From-SVN: r114434
Diffstat (limited to 'libjava/java/io/File.java')
-rw-r--r--libjava/java/io/File.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/io/File.java b/libjava/java/io/File.java
index 1b02b60..55b7b08 100644
--- a/libjava/java/io/File.java
+++ b/libjava/java/io/File.java
@@ -508,9 +508,9 @@ public class File implements Serializable, Comparable
/**
* This method returns a canonical representation of the pathname of
* this file. The actual form of the canonical representation is
- * different. On the GNU system, the canonical form differs from the
- * absolute form in that all relative file references to "." and ".."
- * are resolved and removed.
+ * system-dependent. On the GNU system, conversion to canonical
+ * form involves the removal of redundant separators, references to
+ * "." and "..", and symbolic links.
* <p>
* Note that this method, unlike the other methods which return path
* names, can throw an IOException. This is because native method