From 8dc10789d233904a25d3210557561d4b64210043 Mon Sep 17 00:00:00 2001 From: gary Date: Tue, 6 Jun 2006 15:09:20 +0000 Subject: * 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 --- libjava/java/io/File.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libjava/java/io/File.java') 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. *

* Note that this method, unlike the other methods which return path * names, can throw an IOException. This is because native method -- cgit v1.2.1