summaryrefslogtreecommitdiff
path: root/libjava/java/io/File.java
diff options
context:
space:
mode:
authorgary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-06 15:09:20 +0000
committergary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-06 15:09:20 +0000
commit8dc10789d233904a25d3210557561d4b64210043 (patch)
tree1bf59618bf924a1b5a39b4a3404428ec2cebfef4 /libjava/java/io/File.java
parentfeb71a634d13e4037c9af2306b123097f1e6436f (diff)
downloadgcc-8dc10789d233904a25d3210557561d4b64210043.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114434 138bc75d-0d04-0410-961f-82ee72b054a4
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 1b02b601aaf..55b7b08b931 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