OSDN Git Service

* java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
[pf3gnuchains/gcc-fork.git] / libjava / java / io / File.java
index 1b02b60..55b7b08 100644 (file)
@@ -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