File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc.
2003-04-19 Ranjit Mathew <rmathew@hotmail.com> * java/io/File.java (getAbsolutePath): On Windows, take care of paths like "C:", "G:foo\bar", etc. (getName): Make it work correctly on Windows. (getParent): Make it work correctly on Windows. For UNIX, fix bug that causes "/" to be returned as the parent of "/", instead of null as returned by Sun's JRE. * java/io/natFileWin32.cc: Change copyright owner to FSF. From-SVN: r65823
This commit is contained in:
committed by
Tom Tromey
parent
30f45f509f
commit
f1a1591b9e
@@ -1,6 +1,6 @@
|
||||
// natFileWin32.cc - Native part of File class.
|
||||
// natFileWin32.cc - Native part of File class for Win32.
|
||||
|
||||
/* Copyright (C) 1998, 1999, 2002, 2003 Red Hat, Inc.
|
||||
/* Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user