File.java (normalizePath): Remove trailing separator on Windows only if path is not...
authorRanjit Mathew <rmathew@hotmail.com>
Sun, 2 Mar 2003 00:36:03 +0000 (00:36 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 2 Mar 2003 00:36:03 +0000 (00:36 +0000)
commit3ccd3d704112889a79a0ccdcfc51bfcc55019827
tree01d9125b79e1f1a6ddae6430cffd78841636a6e2
parentd457094cc1695409b74aa40a7d095d39dfcf943e
File.java (normalizePath): Remove trailing separator on Windows only if path is not of the form "x:\".

2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>

* java/io/File.java (normalizePath): Remove trailing separator
on Windows only if path is not of the form "x:\".

* java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
(java::io::File::attr): Change formatting a bit and use
WIN32_EPOCH_MILLIS instead of magic numbers.
(java::io::File::isAbsolute): Path must have at least 3
characters for a UNC network path.
(java::io::File::init_native): Define.
(java::io::File::performCreate): Likewise.
(java::io::File::performSetReadOnly): Likewise.
(java::io::File::performSetLastModified): Likewise.
(java::io::File::performListRoots): Likewise.

From-SVN: r63646
libjava/ChangeLog
libjava/java/io/File.java
libjava/java/io/natFileWin32.cc